Index: options.js |
=================================================================== |
--- a/options.js |
+++ b/options.js |
@@ -19,17 +19,17 @@ |
let iframe = document.getElementById("content"); |
iframe.onload = () => |
{ |
document.title = iframe.contentDocument.title; |
}; |
-chrome.runtime.sendMessage({ |
+browser.runtime.sendMessage({ |
type: "app.get", |
what: "application" |
}, |
application => |
{ |
// Load the mobile version of the options page on Firefox for Android. |
iframe.src = iframe.getAttribute("data-src-" + application) || |
iframe.getAttribute("data-src"); |