From 460b84a6db0eae9a7e8e5dc1f6607a028a2e1549 Mon Sep 17 00:00:00 2001 From: Tomislav Jovanovic Date: Sat, 29 Jul 2017 20:51:47 +0200 Subject: [PATCH] Bug 1385528 - Fix tools_menu in newly opened windows r=kmag MozReview-Commit-ID: B9gTIzYDVdk --HG-- extra : rebase_source : f044b0836e3aecd987f4382161ddef26290895f0 --- browser/components/extensions/ext-menus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/extensions/ext-menus.js b/browser/components/extensions/ext-menus.js index 147acc41bb25..0e70d0c778fd 100644 --- a/browser/components/extensions/ext-menus.js +++ b/browser/components/extensions/ext-menus.js @@ -589,7 +589,7 @@ const menuTracker = { }, onWindowOpen(window) { - for (const id of this.menuIds) { + for (const id of menuTracker.menuIds) { const menu = window.document.getElementById(id); menu.addEventListener("popupshowing", menuTracker); } -- 2.11.4.GIT