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

Unified Diff: background.js

Issue 29565861: Issue 5803 - rename desktop options page to desktop-options.* (Closed)
Patch Set: Created Oct. 6, 2017, 6:38 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 | « README.md ('k') | desktop-options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -400,8 +400,8 @@
modules.options = {
showOptions(callback)
{
- if (!/\/(mobile-)?options\.html\b/.test(top.location.href))
- window.open("options.html", "_blank");
+ if (!/\/(?:mobile|desktop)-options\.html\b/.test(top.location.href))
+ window.open("desktop-options.html", "_blank");
if (callback)
callback();
« no previous file with comments | « README.md ('k') | desktop-options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld