Index: popup.js |
=================================================================== |
--- a/popup.js |
+++ b/popup.js |
@@ -127,16 +127,19 @@ function cancelClickHide() |
document.body.classList.remove("clickhide-active"); |
browser.tabs.sendMessage(tab.id, {type: "composer.content.finished"}); |
} |
function reportIssue() |
{ |
browser.tabs.create({ |
url: browser.runtime.getURL("/issue-reporter.html?" + tab.id) |
+ }).then(() => |
+ { |
+ window.close(); |
}); |
} |
function toggleCollapse(event) |
{ |
let collapser = event.currentTarget; |
let collapsible = document.getElementById(collapser.dataset.collapsible); |
collapsible.classList.toggle("collapsed"); |