summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-20 15:57:14 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-20 15:57:14 -0500
commit9849a251379899c42dd85c0a3e0021185c526636 (patch)
tree88be6b8a649ee5104874495de16d5e941cf9e44d
parentae58cfa71cbbed1389af7b13af3013f7f5b86754 (diff)
downloadpentadactyl-9849a251379899c42dd85c0a3e0021185c526636.tar.gz
Fix charset arg generated by ;S.
-rw-r--r--common/content/bookmarks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js
index 55c683e5..ef095782 100644
--- a/common/content/bookmarks.js
+++ b/common/content/bookmarks.js
@@ -105,7 +105,7 @@ var Bookmarks = Module("bookmarks", {
*/
addSearchKeyword: function (elem) {
if (elem instanceof HTMLFormElement || elem.form)
- var [url, post, charset] = util.parseForm(elem);
+ var [url, post,, charset] = util.parseForm(elem);
else
var [url, post, charset] = [elem.href || elem.src, null, elem.ownerDocument.characterSet];