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: assign empty string to location.ref Created June 12, 2014, 7:16 a.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,8 +1504,7 @@
{
let ending = "|";
location = location.clone();
- if (location instanceof Ci.nsIURL && location.ref)
- location.ref = "";
+ location.ref = "";
Wladimir Palant 2014/06/12 08:09:36 Please don't remove |location instanceof Ci.nsIURL
saroyanm 2014/06/12 14:20:40 Done.
if (location instanceof Ci.nsIURL && location.query)
{
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