diff options
Diffstat (limited to 'lookupDictionary.js')
-rw-r--r-- | lookupDictionary.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |