]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/share/share_prefs.js
remove ok = confirm() thing
[tt-rss.git] / plugins / share / share_prefs.js
index 9efe291f9aa44505257be335fc36bfca379b5683..e4c22262a53b0915713e056007a386422fe36712 100644 (file)
@@ -1,8 +1,5 @@
 function clearArticleAccessKeys() {
-
-       var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
-
-       if (ok) {
+       if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
                notify_progress("Clearing URLs...");
 
                var query = "?op=pluginhandler&plugin=share&method=clearArticleKeys";