| Index: Source/devtools/front_end/ScriptFormatterEditorAction.js
|
| diff --git a/Source/devtools/front_end/ScriptFormatterEditorAction.js b/Source/devtools/front_end/ScriptFormatterEditorAction.js
|
| index 5afaacce87c1a208dba6135963f480a22a070846..f55391f5876b0a1a802166215c525b979a5d63d3 100644
|
| --- a/Source/devtools/front_end/ScriptFormatterEditorAction.js
|
| +++ b/Source/devtools/front_end/ScriptFormatterEditorAction.js
|
| @@ -289,7 +289,7 @@ WebInspector.ScriptFormatterEditorAction.prototype = {
|
| */
|
| _updateButton: function(uiSourceCode)
|
| {
|
| - this._button.element.enableStyleClass("hidden", !this._isFormatableScript(uiSourceCode));
|
| + this._button.element.classList.toggle("hidden", !this._isFormatableScript(uiSourceCode));
|
| },
|
|
|
| /**
|
|
|