summaryrefslogtreecommitdiff
path: root/src/ui/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/popup.js')
-rw-r--r--src/ui/popup.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/popup.js b/src/ui/popup.js
index 07c21e4..63f9eee 100644
--- a/src/ui/popup.js
+++ b/src/ui/popup.js
@@ -65,7 +65,11 @@ addEventListener("unload", e => {
{
let clickHandlers = {
"options": e => {
- browser.runtime.openOptionsPage();
+ if (UA.mobile) { // Fenix fails on openOptionsPage
+ browser.tabs.create({url: browser.extension.getURL("/ui/options.html")});
+ } else {
+ browser.runtime.openOptionsPage();
+ }
close();
},
"close": close,