Bug 1161183: Follow-up fix that was missed in the review comments. r=dao, a=kwierso
authorDave Townsend <dtownsend@oxymoronical.com>
Fri, 19 Jun 2015 12:08:46 -0700
changeset 249941 1a81c933ca56aa063c57d1fb2d7ed498a0051753
parent 249940 c3100b5ccfe8252ee54da48763b37711aadd8bb1
child 249942 8c6f31ca0635206c4473a9812401dc428dc49190
push id61393
push usercbook@mozilla.com
push dateMon, 22 Jun 2015 12:44:45 +0000
treeherdermozilla-inbound@4b47c3f074a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, kwierso
bugs1161183
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1161183: Follow-up fix that was missed in the review comments. r=dao, a=kwierso
toolkit/mozapps/extensions/content/extensions.js
--- a/toolkit/mozapps/extensions/content/extensions.js
+++ b/toolkit/mozapps/extensions/content/extensions.js
@@ -458,17 +458,17 @@ var gEventManager = {
 
       // Hide the separator if there are no visible menu items before it
       menuSep.hidden = (countMenuItemsBeforeSep == 0);
 
     }, false);
 
     let addonTooltip = document.getElementById("addonitem-tooltip");
     addonTooltip.addEventListener("popupshowing", function() {
-      let addonItem = document.tooltipNode;
+      let addonItem = addonTooltip.triggerNode;
       // The way the test triggers the tooltip the richlistitem is the
       // tooltipNode but in normal use it is the anonymous node. This allows
       // any case
       if (addonItem.localName != "richlistitem")
         addonItem = document.getBindingParent(addonItem);
 
       let tiptext = addonItem.getAttribute("name");