1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 22:14:14 +01:00

That was kind of obvious, really...

This commit is contained in:
Kris Maglione
2014-08-16 21:20:03 -07:00
parent 54568d5f82
commit 2660aca330

View File

@@ -699,7 +699,7 @@ var Bookmarks = Module("bookmarks", {
let query = item.url.substring(begin.length, rest);
if (item.url.substr(rest) == end && query.contains("&"))
try {
item.url = decodeURIComponent(query.replace(/#.*/, "").replace(/\+/g, " "));
item.url = decodeURIComponent(query.replace(/[&#].*/, "").replace(/\+/g, " "));
return item;
}
catch (e) {}