Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit af3202ac9eab73aa800374cc97b3723e5e93d315 1 parent 9dc57e8
Jan Odvarko authored
13  extension/content/firebug/css/selectorPanel.js
@@ -53,17 +53,18 @@ SelectorPanel.prototype = Obj.extend(Firebug.Panel,
53 53
         this.lockSelection = Obj.bind(this.lockSelection, this);
54 54
 
55 55
         var panelNode = this.mainPanel.panelNode;
56  
-        Events.addEventListener(panelNode, "mouseover", this.setSelection, false);
57  
-        Events.addEventListener(panelNode, "mouseout", this.clearSelection, false);
58  
-        Events.addEventListener(panelNode, "mousedown", this.lockSelection, false);
  56
+        // See: http://code.google.com/p/fbug/issues/detail?id=5931
  57
+        //Events.addEventListener(panelNode, "mouseover", this.setSelection, false);
  58
+        //Events.addEventListener(panelNode, "mouseout", this.clearSelection, false);
  59
+        //Events.addEventListener(panelNode, "mousedown", this.lockSelection, false);
59 60
     },
60 61
 
61 62
     destroyNode: function()
62 63
     {
63 64
         var panelNode = this.mainPanel.panelNode;
64  
-        Events.removeEventListener(panelNode, "mouseover", this.setSelection, false);
65  
-        Events.removeEventListener(panelNode, "mouseout", this.clearSelection, false);
66  
-        Events.removeEventListener(panelNode, "mousedown", this.lockSelection, false);
  65
+        //Events.removeEventListener(panelNode, "mouseover", this.setSelection, false);
  66
+        //Events.removeEventListener(panelNode, "mouseout", this.clearSelection, false);
  67
+        //Events.removeEventListener(panelNode, "mousedown", this.lockSelection, false);
67 68
 
68 69
         Firebug.Panel.destroyNode.apply(this, arguments);
69 70
     },

0 notes on commit af3202a

Please sign in to comment.
Something went wrong with that request. Please try again.