Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/ui.js

Issue 5734888082767872: Issue #580 - "Disable on this page only" should discard the final # from URLs (Closed)
Patch Set: check for nsIURI Created June 12, 2014, 2:19 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ui.js
===================================================================
--- a/lib/ui.js
+++ b/lib/ui.js
@@ -1504,7 +1504,7 @@
{
let ending = "|";
location = location.clone();
- if (location instanceof Ci.nsIURL && location.ref)
+ if (location instanceof Ci.nsIURL)
location.ref = "";
if (location instanceof Ci.nsIURL && location.query)
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld