diff options
-rw-r--r-- | direct_bookmark.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/direct_bookmark.js b/direct_bookmark.js index 23aaee6..d1058e1 100644 --- a/direct_bookmark.js +++ b/direct_bookmark.js @@ -1,6 +1,6 @@ // Vimperator plugin: 'Direct Post to Social Bookmarks'
// Version: 0.12
-// Last Change: 24-Jun-2008. Jan 2008
+// Last Change: 22-Sep-2008. Jan 2008
// License: Creative Commons
// Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid
// Parts:
@@ -636,8 +636,7 @@ var completionList = [];
if(liberator.plugins.direct_bookmark.tags.length == 0)
getTags().call([]);
- liberator.log(typeof match_result[1]);
- return [0, [[match_result[1] + "[" + tag + "]","Tag"]
+ return [match_result[1].length, [["[" + tag + "]","Tag"]
for each (tag in liberator.plugins.direct_bookmark.tags) if (m.test(tag) && match_result[1].indexOf('[' + tag + ']') < 0)]];
},
options: [
|