1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 18:07:58 +01:00

Fix bug in parseForm.

This commit is contained in:
Kris Maglione
2011-01-25 16:17:25 -05:00
parent 05a2859384
commit ec42ad5a5a
2 changed files with 2 additions and 2 deletions

View File

@@ -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];