mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:22:30 +02:00
That was kind of obvious, really...
This commit is contained in:
1 parent
54568d5f82
commit
2660aca330
1 file changed
+1
-1
@@ -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) {}
|
||||
|
||||
Reference in new issue
Block a user