X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=blobdiff_plain;f=plugins%2Fshare%2Fshare.js;h=0fb2f1244e2ea8eb69a4e637b3030d202fa34df2;hp=09c973ed843f8cc838e5a546f8baa4cf386dc7f6;hb=da1a3c2cc5621bccdb844cfbd03e377ada079fa9;hpb=fd752a79af51ee5403f9eb7953855bd715a1ec71 diff --git a/plugins/share/share.js b/plugins/share/share.js index 09c973ed..0fb2f124 100644 --- a/plugins/share/share.js +++ b/plugins/share/share.js @@ -10,10 +10,7 @@ function shareArticle(id) { title: __("Share article by URL"), style: "width: 600px", newurl: function() { - - var ok = confirm(__("Generate new share URL for this article?")); - - if (ok) { + if (confirm(__("Generate new share URL for this article?"))) { notify_progress("Trying to change URL...", true); @@ -51,10 +48,7 @@ function shareArticle(id) { }, unshare: function() { - - var ok = confirm(__("Remove sharing for this article?")); - - if (ok) { + if (confirm(__("Remove sharing for this article?"))) { notify_progress("Trying to unshare...", true);