diff options
author | Kris Maglione <jg@suckless.org> | 2009-10-21 04:42:04 -0400 |
---|---|---|
committer | Kris Maglione <jg@suckless.org> | 2009-10-21 04:42:04 -0400 |
commit | fa9b118aad5d2e44532fe2e6435b99dc9e4ebe58 (patch) | |
tree | df4e742cbd58082e608f6d4a11674c4dc829978e /common/content/bookmarks.js | |
parent | 382cbe6691285509cff88a59fedbd3da63d83bfc (diff) | |
download | pentadactyl-fa9b118aad5d2e44532fe2e6435b99dc9e4ebe58.tar.gz |
Cleanup more crufty, stolen Gecko code. Aren't these people supposed to be professionals?
--HG--
extra : rebase_source : 288a8a5f8479dda0c16c1a66132682e71f9a8eba
Diffstat (limited to 'common/content/bookmarks.js')
-rw-r--r-- | common/content/bookmarks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index ddb9940f..f076bee8 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -475,7 +475,7 @@ function Bookmarks() //{{{ let query = item.url.substring(begin.length, rest); if (item.url.substr(rest) == end && query.indexOf("&") == -1) { - item.url = decodeURIComponent(query); + item.url = decodeURIComponent(query.replace(/#.*/, "")); return item; } }).filter(util.identity); |