Commit 311b3d3d authored by Manvel Saroyan's avatar Manvel Saroyan

Issue 5803 - rename desktop options page to desktop-options.*

parent 49583276
......@@ -16,7 +16,7 @@ Directory structure
to messages sent by UI code.
* `background.html`, `background.js`: Test implementation of the background
page, should *not be imported*.
* `options.html`, `options.js`: Options page, see below
* `desktop-options.html`, `desktop-options.js`: Options page, see below
* `subscriptions.xml`: Test subscription data, should *not be imported*
* `locale` directory: Localized strings, with one directory per locale. The
Firefox format for locale identifiers is used (xx-YY where xx is the language
......@@ -83,7 +83,7 @@ parameters:
subscriptions as initiated by clicking on an "abp:subscribe" link
* `showPageOptions=true`: shows page-specific options
options.html
desktop-options.html
------------
This is the implementation of the Adblock Plus options page which is
......
......@@ -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();
......
......@@ -21,12 +21,12 @@
<meta charset="utf-8">
<title class="i18n_options_page_title"></title>
<link rel="stylesheet" href="skin/common.css">
<link rel="stylesheet" href="skin/options.css">
<link rel="stylesheet" href="skin/desktop-options.css">
<script src="ext/common.js"></script>
<script src="ext/content.js"></script>
<script src="common.js"></script>
<script src="i18n.js"></script>
<script src="options.js"></script>
<script src="desktop-options.js"></script>
</head>
<body data-tab="general">
<!-- Navigation sidebar -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment