Browse files

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

  • Loading branch information...
1 parent 9dc57e8 commit af3202ac9eab73aa800374cc97b3723e5e93d315 @janodvarko janodvarko committed Oct 5, 2012
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);
},

0 comments on commit af3202a

Please sign in to comment.