diff options
author | mattn | 2008-10-22 02:04:53 +0000 |
---|---|---|
committer | mattn | 2008-10-22 02:04:53 +0000 |
commit | a9f0463950a5d2e51e68915aced881dc917fcd47 (patch) | |
tree | 9040a0b8c7b3f193795960d205a3462ce9a0de2b /direct_bookmark.js | |
parent | c0e2bd2b4440e634fa20bc6fa2ed94c1a398cc55 (diff) | |
download | vimperator-plugins-a9f0463950a5d2e51e68915aced881dc917fcd47.tar.bz2 |
follow latest vimperator.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21811 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'direct_bookmark.js')
-rw-r--r-- | direct_bookmark.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/direct_bookmark.js b/direct_bookmark.js index f035c23..9fd0703 100644 --- a/direct_bookmark.js +++ b/direct_bookmark.js @@ -544,7 +544,7 @@ function(arg){setTimeout(function(){getTags().call([])},0)}, {});
liberator.modules.commands.addUserCommand(['bentry'],"Goto Bookmark Entry Page",
function(service, special){
- service = service || useServicesByPost.split(/\s*/)[0];
+ service = service.string || useServicesByPost.split(/\s*/)[0];
var currentService = services[service] || null;
if(!currentService || !currentService.entryPage) {
return;
@@ -569,7 +569,7 @@ }
return ascii.join('').toLowerCase();
}
- }), special ? liberator.NEW_TAB : CURRENT_TAB);
+ }), special ? liberator.NEW_TAB : liberator.CURRENT_TAB);
},{
completer: function(filter)
[0, useServicesByPost.split(/\s*/).map(function(p) [p, services[p].description])]
|