Skip to content
Browse files
Web Inspector: Fonts details sidebar in Elements tab has empty space …
…for filter bar

Reviewed by Devin Rousso.

As pointed out by Devin, passing undefined to `toggle` here acts as if we didn't pass a value, not as a falsy value.

* Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.js:

Canonical link:
git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
patrickangle committed Jun 21, 2022
1 parent b91d6ad commit 35d7fb239e570e8ecb3b63fb0fe8dd6925bc6988
Showing 1 changed file with 1 addition and 1 deletion.
@@ -213,7 +213,7 @@ WI.GeneralStyleDetailsSidebarPanel = class GeneralStyleDetailsSidebarPanel exten
this.contentView.element.classList.toggle("has-filter-bar", this._filterBar);
this.contentView.element.classList.toggle("has-filter-bar", !!this._filterBar);
if (this._filterBar)
this.contentView.element.classList.toggle(WI.GeneralStyleDetailsSidebarPanel.FilterInProgressClassName, this._filterBar.hasActiveFilters());

0 comments on commit 35d7fb2

Please sign in to comment.