mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1494162 - Part 52: Don't show the empty message in the CssRuleView constructor. r=pbro
We will eventually call showEmpty() when an element is selected if there are no rules. This improves the perceive performance of the rules view because it doesn't have a flicker of the empty text to the css rules.
This commit is contained in:
parent
110b41a47f
commit
c07636d479
@ -179,8 +179,6 @@ function CssRuleView(inspector, document, store, pageStyle) {
|
||||
|
||||
this.showUserAgentStyles = Services.prefs.getBoolPref(PREF_UA_STYLES);
|
||||
|
||||
this._showEmpty();
|
||||
|
||||
// Add the tooltips and highlighters to the view
|
||||
this.tooltips = new TooltipsOverlay(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user