Index: popup.js |
=================================================================== |
--- a/popup.js |
+++ b/popup.js |
@@ -117,17 +117,18 @@ |
document.getElementById("clickhide").addEventListener( |
"click", activateClickHide, false |
); |
document.getElementById("clickhide-cancel").addEventListener( |
"click", cancelClickHide, false |
); |
document.getElementById("options").addEventListener("click", () => |
{ |
- ext.showOptions(window.close); |
+ chrome.runtime.sendMessage({type: "app.open", what: "options"}); |
+ window.close(); |
}, false); |
// Set up collapsing of menu items |
for (let collapser of document.getElementsByClassName("collapse")) |
{ |
collapser.addEventListener("click", toggleCollapse, false); |
getPref(collapser.dataset.option, value => |
{ |