From fa9b118aad5d2e44532fe2e6435b99dc9e4ebe58 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 21 Oct 2009 04:42:04 -0400 Subject: Cleanup more crufty, stolen Gecko code. Aren't these people supposed to be professionals? --HG-- extra : rebase_source : 288a8a5f8479dda0c16c1a66132682e71f9a8eba --- common/content/bookmarks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/content/bookmarks.js') 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); -- cgit v1.2.3