Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Persist trial selector across Firebug show/hide (related to issue 5931)

  • Loading branch information...
commit 9dc57e8cca36b4171b0790f1cf156b36a655c53a 1 parent e84ed5f
Jan Odvarko authored October 04, 2012
5  extension/content/firebug/css/selectorPanel.js
@@ -159,6 +159,11 @@ SelectorPanel.prototype = Obj.extend(Firebug.Panel,
159 159
     {
160 160
         var root = this.context.window.document.documentElement;
161 161
         this.selection = this.mainPanel.selection;
  162
+
  163
+        // Use trial selector if there is no selection in the CSS panel.
  164
+        if (!this.selection)
  165
+            this.selection = this.trialSelector;
  166
+
162 167
         this.rebuild(true);
163 168
     },
164 169
 

0 notes on commit 9dc57e8

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