summaryrefslogtreecommitdiff
path: root/plugins/share/share_prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-30 13:05:59 +0300
committerAndrew Dolgov <[email protected]>2018-11-30 13:05:59 +0300
commitda1a3c2cc5621bccdb844cfbd03e377ada079fa9 (patch)
tree9771f1e2a3b350f775e964d90a0d09c8f17d7738 /plugins/share/share_prefs.js
parentfd752a79af51ee5403f9eb7953855bd715a1ec71 (diff)
remove ok = confirm() thing
Diffstat (limited to 'plugins/share/share_prefs.js')
-rw-r--r--plugins/share/share_prefs.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/share/share_prefs.js b/plugins/share/share_prefs.js
index 9efe291f9..e4c22262a 100644
--- a/plugins/share/share_prefs.js
+++ b/plugins/share/share_prefs.js
@@ -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";