diff options
-rw-r--r-- | lookupDictionary.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lookupDictionary.js b/lookupDictionary.js index 9120797..ae821d5 100644 --- a/lookupDictionary.js +++ b/lookupDictionary.js @@ -160,7 +160,6 @@ SITE_DEFINITION.forEach(function (dictionary) { let ttbu = Components.classes['@mozilla.org/intl/texttosuburi;1'] .getService( Components.interfaces.nsITextToSubURI); url = dictionary.url.replace(/%s/g, ttbu.ConvertAndEscape(dictionary.urlEncode, arg)); - url = dictionary.url.replace(/%s/g,encodeURIComponent(arg)); } else { url = dictionary.url.replace(/%s/g,encodeURIComponent(arg)); } |