summaryrefslogtreecommitdiff
path: root/js/functions.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 /js/functions.js
parentfd752a79af51ee5403f9eb7953855bd715a1ec71 (diff)
remove ok = confirm() thing
Diffstat (limited to 'js/functions.js')
-rwxr-xr-xjs/functions.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/js/functions.js b/js/functions.js
index c7530c8a8..29dbe70cf 100755
--- a/js/functions.js
+++ b/js/functions.js
@@ -1118,9 +1118,7 @@ function backend_sanity_check_callback(transport) {
}
function genUrlChangeKey(feed, is_cat) {
- const ok = confirm(__("Generate new syndication address for this feed?"));
-
- if (ok) {
+ if (confirm(__("Generate new syndication address for this feed?"))) {
notify_progress("Trying to change address...", true);
@@ -1392,12 +1390,8 @@ function showFeedsWithErrors() {
removeSelected: function() {
const sel_rows = this.getSelectedFeeds();
- console.log(sel_rows);
-
if (sel_rows.length > 0) {
- const ok = confirm(__("Remove selected feeds?"));
-
- if (ok) {
+ if (confirm(__("Remove selected feeds?"))) {
notify_progress("Removing selected feeds...", true);
const query = { op: "pref-feeds", method: "remove",