Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 9dc57e8cca36b4171b0790f1cf156b36a655c53a 1 parent e84ed5f
@janodvarko janodvarko authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 extension/content/firebug/css/selectorPanel.js
View
5 extension/content/firebug/css/selectorPanel.js
@@ -159,6 +159,11 @@ SelectorPanel.prototype = Obj.extend(Firebug.Panel,
{
var root = this.context.window.document.documentElement;
this.selection = this.mainPanel.selection;
+
+ // Use trial selector if there is no selection in the CSS panel.
+ if (!this.selection)
+ this.selection = this.trialSelector;
+
this.rebuild(true);
},
Please sign in to comment.
Something went wrong with that request. Please try again.