mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:02:31 +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);
|
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