From 9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 12:37:51 +0000 Subject: Follow HEAD for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commit;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35099 d0d07461-0603-4401-acd4-de1884942a52 --- lookupDictionary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lookupDictionary.js') diff --git a/lookupDictionary.js b/lookupDictionary.js index ae821d5..a7e0ea9 100644 --- a/lookupDictionary.js +++ b/lookupDictionary.js @@ -148,12 +148,12 @@ SITE_DEFINITION.forEach(function (dictionary) { commands.addUserCommand( dictionary.names, dictionary.shortHelp, - function (args,special) { + function (args) { var arg = args.string; var sel = (window.content.window.getSelection) ? window.content.window.getSelection().toString() : null; - if (special && sel) arg = sel; + if (args.bang && sel) arg = sel; if (!arg) return; var url; if (dictionary.urlEncode) { -- cgit v1.2.3