mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 17:54:10 +01:00
Fix Bookmarks#getSearchURL typo.
--HG-- extra : rebase_source : 739c42e7b3e06be1d4193d4fb0c4a40760f068a4
This commit is contained in:
@@ -733,7 +733,7 @@ function Bookmarks() //{{{
|
||||
return [url, null];
|
||||
|
||||
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 matches = shortcutURL.match(/^(.*)\&mozcharset=([a-zA-Z][_\-a-zA-Z0-9]+)\s*$/);
|
||||
|
||||
Reference in New Issue
Block a user