mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 12:15:41 +02:00
Fix bug in parseForm.
This commit is contained in:
1 parent
05a2859384
commit
ec42ad5a5a
2 files changed
+2
-2
No files matched your search
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user