Index: popup.js |
=================================================================== |
--- a/popup.js |
+++ b/popup.js |
@@ -98,17 +98,21 @@ |
activateClickHide.timeout = null; |
} |
document.body.classList.remove("clickhide-active"); |
browser.tabs.sendMessage(tab.id, {type: "composer.content.finished"}); |
} |
function reportIssue() |
{ |
+ // the issue reporter needs to take a screenshot of the |
+ // currently active tab, which is why active is explicitly |
+ // set as false, in case option defaults will ever change. |
browser.tabs.create({ |
+ active: false, |
url: browser.runtime.getURL("/issue-reporter.html?" + tab.id) |
}).then(() => |
{ |
window.close(); |
}); |
} |
function toggleCollapse(event) |