diff options
author | Kris Maglione <kris@vimperator.org> | 2009-11-02 22:05:03 -0500 |
---|---|---|
committer | Kris Maglione <kris@vimperator.org> | 2009-11-02 22:05:03 -0500 |
commit | c159cf6efa5f7a29e2820bce6ef9f96fa4a55425 (patch) | |
tree | 92e24c010947db5ad4c970ed95d356b6c6d30c80 /common/content/bookmarks.js | |
parent | 8224540d26ffcc62d6bda3fcc665e520ac0bd192 (diff) | |
download | pentadactyl-c159cf6efa5f7a29e2820bce6ef9f96fa4a55425.tar.gz |
Minor cleanup.
Diffstat (limited to 'common/content/bookmarks.js')
-rw-r--r-- | common/content/bookmarks.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index 28bd56cd..d929b830 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -739,7 +739,7 @@ function Bookmarks() //{{{ if (!shortcutURL) return [url, null]; - let data = unescape(postData || ""); + let data = window.unescape(postData || ""); if (/%s/i.test(shortcutURL) || /%s/i.test(data)) { var charset = ""; @@ -764,9 +764,7 @@ function Bookmarks() //{{{ postData = window.getPostDataStream(data, param, encodedParam, "application/x-www-form-urlencoded"); } else if (param) - { - return [url, null]; - } + return [shortcutURL, null]; return [shortcutURL, postData]; } |