Index: Source/devtools/front_end/FilteredItemSelectionDialog.js |
diff --git a/Source/devtools/front_end/FilteredItemSelectionDialog.js b/Source/devtools/front_end/FilteredItemSelectionDialog.js |
index cc5865e7d4609de112eceabf99cebe171a478030..89a2cb59322a2621d119d5a81cc03465aa102329 100644 |
--- a/Source/devtools/front_end/FilteredItemSelectionDialog.js |
+++ b/Source/devtools/front_end/FilteredItemSelectionDialog.js |
@@ -264,7 +264,7 @@ WebInspector.FilteredItemSelectionDialog.prototype = { |
_updateShowMatchingItems: function() |
{ |
- this._itemElementsContainer.enableStyleClass("hidden", !this._shouldShowMatchingItems); |
+ this._itemElementsContainer.classList.toggle("hidden", !this._shouldShowMatchingItems); |
this.element.style.height = this._shouldShowMatchingItems ? this._dialogHeight + "px" : "auto"; |
}, |