aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commandBookmarklet.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/commandBookmarklet.js b/commandBookmarklet.js
index 7329845..5ebb48a 100644
--- a/commandBookmarklet.js
+++ b/commandBookmarklet.js
@@ -57,7 +57,9 @@ command_bookmarklet_prefix:
( function () {
-let prefix = liberator.globalVariables.command_bookmarklet_prefix || 'bml';
+let prefix = liberator.globalVariables.command_bookmarklet_prefix;
+if (prefix === undefined)
+ prefix = 'bml';
let items = bookmarks.get('javascript:');
if (!items.length) {