1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 23:34:10 +01:00

Minor cleanup.

This commit is contained in:
Kris Maglione
2009-11-02 22:05:03 -05:00
parent 8224540d26
commit c159cf6efa
2 changed files with 3 additions and 8 deletions

View File

@@ -739,7 +739,7 @@ function Bookmarks() //{{{
if (!shortcutURL)
return [url, null];
let data = unescape(postData || "");
let data = window.unescape(postData || "");
if (/%s/i.test(shortcutURL) || /%s/i.test(data))
{
var charset = "";
@@ -764,9 +764,7 @@ function Bookmarks() //{{{
postData = window.getPostDataStream(data, param, encodedParam, "application/x-www-form-urlencoded");
}
else if (param)
{
return [url, null];
}
return [shortcutURL, null];
return [shortcutURL, postData];
}