| Index: Source/devtools/front_end/InplaceFormatterEditorAction.js
|
| diff --git a/Source/devtools/front_end/InplaceFormatterEditorAction.js b/Source/devtools/front_end/InplaceFormatterEditorAction.js
|
| index fa0013bdc5c4be852442d8e024f1800d723d92ae..9c7414dfd7f3800339dbe02717c30e1ad6125c60 100644
|
| --- a/Source/devtools/front_end/InplaceFormatterEditorAction.js
|
| +++ b/Source/devtools/front_end/InplaceFormatterEditorAction.js
|
| @@ -36,7 +36,7 @@ WebInspector.InplaceFormatterEditorAction.prototype = {
|
| */
|
| _updateButton: function(uiSourceCode)
|
| {
|
| - this._button.element.enableStyleClass("hidden", !this._isFormattable(uiSourceCode));
|
| + this._button.element.classList.toggle("hidden", !this._isFormattable(uiSourceCode));
|
| },
|
|
|
| /**
|
|
|