Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CSS Selector: remove selection and hover-preview (see issue 5931)

  • Loading branch information...
commit af3202ac9eab73aa800374cc97b3723e5e93d315 1 parent 9dc57e8
@janodvarko janodvarko authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 extension/content/firebug/css/selectorPanel.js
View
13 extension/content/firebug/css/selectorPanel.js
@@ -53,17 +53,18 @@ SelectorPanel.prototype = Obj.extend(Firebug.Panel,
this.lockSelection = Obj.bind(this.lockSelection, this);
var panelNode = this.mainPanel.panelNode;
- Events.addEventListener(panelNode, "mouseover", this.setSelection, false);
- Events.addEventListener(panelNode, "mouseout", this.clearSelection, false);
- Events.addEventListener(panelNode, "mousedown", this.lockSelection, false);
+ // See: http://code.google.com/p/fbug/issues/detail?id=5931
+ //Events.addEventListener(panelNode, "mouseover", this.setSelection, false);
+ //Events.addEventListener(panelNode, "mouseout", this.clearSelection, false);
+ //Events.addEventListener(panelNode, "mousedown", this.lockSelection, false);
},
destroyNode: function()
{
var panelNode = this.mainPanel.panelNode;
- Events.removeEventListener(panelNode, "mouseover", this.setSelection, false);
- Events.removeEventListener(panelNode, "mouseout", this.clearSelection, false);
- Events.removeEventListener(panelNode, "mousedown", this.lockSelection, false);
+ //Events.removeEventListener(panelNode, "mouseover", this.setSelection, false);
+ //Events.removeEventListener(panelNode, "mouseout", this.clearSelection, false);
+ //Events.removeEventListener(panelNode, "mousedown", this.lockSelection, false);
Firebug.Panel.destroyNode.apply(this, arguments);
},
Please sign in to comment.
Something went wrong with that request. Please try again.