aboutsummaryrefslogtreecommitdiff
path: root/html/options_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/options_main.js')
-rw-r--r--html/options_main.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/html/options_main.js b/html/options_main.js
index 979fb44..ca591d5 100644
--- a/html/options_main.js
+++ b/html/options_main.js
@@ -214,13 +214,10 @@
let [item, data] = ul.get_work_li_data(ul);
- if (prefix == TYPE_PREFIX.PAGE)
-
- /* Here we fire promises and return without waiting. */
-
- if (ul.state === UL_STATE.EDITING_ENTRY)
- storage.replace(prefix, ul.edited_item, item, data);
+ /* Here we fire promises and return without waiting. */
+ if (ul.state === UL_STATE.EDITING_ENTRY)
+ storage.replace(prefix, ul.edited_item, item, data);
if (ul.state === UL_STATE.ADDING_ENTRY)
storage.set(prefix, item, data);