mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-29 00:03:34 +01:00
That was kind of obvious, really...
This commit is contained in:
@@ -699,7 +699,7 @@ var Bookmarks = Module("bookmarks", {
|
|||||||
let query = item.url.substring(begin.length, rest);
|
let query = item.url.substring(begin.length, rest);
|
||||||
if (item.url.substr(rest) == end && query.contains("&"))
|
if (item.url.substr(rest) == end && query.contains("&"))
|
||||||
try {
|
try {
|
||||||
item.url = decodeURIComponent(query.replace(/#.*/, "").replace(/\+/g, " "));
|
item.url = decodeURIComponent(query.replace(/[&#].*/, "").replace(/\+/g, " "));
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
catch (e) {}
|
catch (e) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user