aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commandBookmarklet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commandBookmarklet.js b/commandBookmarklet.js
index 6ecc2d0..d25d338 100644
--- a/commandBookmarklet.js
+++ b/commandBookmarklet.js
@@ -18,7 +18,7 @@
}
items.forEach(function(item) {
- var [url, title] = item;
+ var [url, title] = [item.url, item.title];
var desc = title;
title = escape( title.replace(/ +/g,'').toLowerCase() );
if (/[^a-zA-Z]+/.test(title)) {