1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 02:55:45 +01:00

Fix Bookmarks#getSearchURL typo.

--HG--
extra : rebase_source : 739c42e7b3e06be1d4193d4fb0c4a40760f068a4
This commit is contained in:
Kris Maglione
2009-10-13 01:40:22 -04:00
parent e31792b4b5
commit e32cabe61b

View File

@@ -733,7 +733,7 @@ function Bookmarks() //{{{
return [url, null]; return [url, null];
let data = unescape(postData || ""); let data = unescape(postData || "");
if (/%s/i.test(shortcutURL) || /%s/i.test(pdata)) if (/%s/i.test(shortcutURL) || /%s/i.test(data))
{ {
var charset = ""; var charset = "";
var matches = shortcutURL.match(/^(.*)\&mozcharset=([a-zA-Z][_\-a-zA-Z0-9]+)\s*$/); var matches = shortcutURL.match(/^(.*)\&mozcharset=([a-zA-Z][_\-a-zA-Z0-9]+)\s*$/);