Index: lib/inspectorObserver.js |
=================================================================== |
--- a/lib/inspectorObserver.js |
+++ b/lib/inspectorObserver.js |
@@ -40,7 +40,7 @@ |
inspectorReady: function(eventName, toolbox, panel) |
{ |
let panelWindow = panel.panelWin; |
- let inspectBtn = panelWindow.document.getElementById("inspector-inspect-toolbutton"); |
+ let inspectBtn = panelWindow.document.getElementById("inspector-breadcrumbs"); |
if (!inspectBtn) |
return; |
@@ -58,7 +58,7 @@ |
panelWindow.openDialog("chrome://elemhidehelper/content/composer.xul", "_blank", |
"chrome,centerscreen,resizable,dialog=no", panel.selection.node); |
}, false); |
- inspectBtn.parentNode.insertBefore(button, inspectBtn.nextSibling); |
+ inspectBtn.parentNode.insertBefore(button, inspectBtn); |
} |
}; |