Index: popup.js |
=================================================================== |
--- a/popup.js |
+++ b/popup.js |
@@ -72,17 +72,17 @@ |
document.getElementById("clickhide").addEventListener( |
"click", activateClickHide, false |
); |
document.getElementById("clickhide-cancel").addEventListener( |
"click", cancelClickHide, false |
); |
document.getElementById("options").addEventListener("click", () => |
{ |
- ext.showOptions(); |
+ ext.showOptions(ext.closePopup); |
}, false); |
// Set up collapsing of menu items |
for (let collapser of document.getElementsByClassName("collapse")) |
{ |
collapser.addEventListener("click", toggleCollapse, false); |
if (!Prefs[collapser.dataset.option]) |
{ |