[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 08/10: Issue 2737 - Fix "invalid left-hand side" error in Firefox 41
David Prévot
taffit at moszumanska.debian.org
Fri Jan 22 01:02:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag pre-hg-git-0.8
in repository adblock-plus-element-hiding-helper.
commit 1f28f053d2d5543320e5d752750e8ae2b28a68bb
Author: Wladimir Palant <trev at adblockplus.org>
Date: Tue Jun 30 21:06:47 2015 +0200
Issue 2737 - Fix "invalid left-hand side" error in Firefox 41
---
lib/inspectorObserver.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/inspectorObserver.js b/lib/inspectorObserver.js
index 31b9fe1..5ec01c2 100644
--- a/lib/inspectorObserver.js
+++ b/lib/inspectorObserver.js
@@ -11,7 +11,7 @@ let InspectorObserver =
let gDevTools;
try
{
- ({gDevTools}) = Cu.import("resource:///modules/devtools/gDevTools.jsm", null);
+ ({gDevTools} = Cu.import("resource:///modules/devtools/gDevTools.jsm", null));
}
catch(e)
{
@@ -54,11 +54,11 @@ let InspectorObserver =
panelWindow.openDialog("chrome://elemhidehelper/content/composer.xul", "_blank",
"chrome,centerscreen,resizable,dialog=no", panel.selection.node);
}, false);
-
+
//Override button style for light DevTools theme
let style = panelWindow.document.createProcessingInstruction("xml-stylesheet", 'href="chrome://elemhidehelper/skin/devToolsOverlay.css" type="text/css"');
panelWindow.document.insertBefore(style, panelWindow.document.firstChild);
-
+
inspectBtn.parentNode.insertBefore(button, inspectBtn);
}
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git
More information about the Pkg-mozext-commits
mailing list