Index: lib/ui.js |
=================================================================== |
--- a/lib/ui.js |
+++ b/lib/ui.js |
@@ -1504,6 +1504,8 @@ |
{ |
let ending = "|"; |
location = location.clone(); |
+ location.spec = (location.spec.indexOf("#", location.spec.length - 1) ? |
+ location.spec.substring(0, location.spec.length - 1) : location.spec); |
Wladimir Palant
2014/06/12 06:40:08
The code setting location.ref right below the one
saroyanm
2014/06/12 07:19:06
Good point, how I could miss that easy change.
Don
|
if (location instanceof Ci.nsIURL && location.ref) |
location.ref = ""; |
if (location instanceof Ci.nsIURL && location.query) |