From e5bf32c8866a4fb9d10d55689c1e3759f55992e3 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 2 Sep 2018 23:02:35 +0200 Subject: Fixes missing feedback for actions on the report UI when opened in a tab. --- html/display_panel/content/main_panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js index 7bcbbb0..930f7f2 100644 --- a/html/display_panel/content/main_panel.js +++ b/html/display_panel/content/main_panel.js @@ -51,7 +51,7 @@ document.querySelector("#info").addEventListener("click", e => { if (site) { ([action] = action.split("-")); } - myPort.postMessage({[action]: entry, site}); + myPort.postMessage({[action]: entry, site, tabId: currentReport.tabId}); }); document.querySelector("#report-tab").onclick = e => { -- cgit v1.2.3