| Index: lib/windowWrapper.js |
| =================================================================== |
| --- a/lib/windowWrapper.js |
| +++ b/lib/windowWrapper.js |
| @@ -16,28 +16,26 @@ function getMenuItem() |
| let stringBundle = Services.strings.createBundle("chrome://elemhidehelper/locale/global.properties?" + Math.random()); |
| let result = [stringBundle.GetStringFromName("selectelement.label"), stringBundle.GetStringFromName("stopselection.label")]; |
| getMenuItem = function() result; |
| return getMenuItem(); |
| } |
| exports.WindowWrapper = WindowWrapper; |
| -function WindowWrapper(wnd, elementMarkerClass) |
| +function WindowWrapper(wnd) |
| { |
| this.window = wnd; |
| this.popupShowingHandler = this.popupShowingHandler.bind(this); |
| this.popupHiddenHandler = this.popupHiddenHandler.bind(this); |
| this.keyPressHandler = this.keyPressHandler.bind(this); |
| this.toggleSelection = this.toggleSelection.bind(this); |
| this.hideTooltips = this.hideTooltips.bind(this); |
| - this.E("ehh-elementmarker").firstElementChild.setAttribute("class", elementMarkerClass); |
| - |
| this.init(); |
| } |
| WindowWrapper.prototype = |
| { |
| window: null, |
| get browser() |
| { |