[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 05/12: Noissue - Added missing variable declaration.

David Prévot taffit at moszumanska.debian.org
Sat May 7 15:43:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 15f0a962985f32f84977e1bc01f4496f9ae22364
Author: crackevil <crackevil at gmail.com>
Date:   Wed Apr 20 19:26:44 2016 +0200

    Noissue - Added missing variable declaration.
    
    Review: https://github.com/adblockplus/elemhidehelper/pull/1
---
 lib/inspectorObserver.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/inspectorObserver.js b/lib/inspectorObserver.js
index 4dd53a9..2aea535 100644
--- a/lib/inspectorObserver.js
+++ b/lib/inspectorObserver.js
@@ -44,7 +44,7 @@ let InspectorObserver =
       return;
 
     let tooltiptext = InspectorObserver.inspectorButtonTooltip;
-    button = panelWindow.document.createElement("toolbarbutton");
+    let button = panelWindow.document.createElement("toolbarbutton");
     button.setAttribute("id", "ehh-inspector-toolbarbutton");
     button.setAttribute("class", "devtools-toolbarbutton");
     button.setAttribute("tooltiptext", tooltiptext);

-- 
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