| Index: Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
|
| diff --git a/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js b/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
|
| index c49df6a3f1811394df9c5b08005241784db41145..7424380b6622503be00fa2560d8cd37ecf94f964 100644
|
| --- a/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
|
| +++ b/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
|
| @@ -229,7 +229,7 @@ WebInspector.ScriptFormatterEditorAction.prototype = {
|
| this._sourcesView.addEventListener(WebInspector.SourcesView.Events.EditorClosed, this._editorClosed.bind(this));
|
|
|
| this._button = new WebInspector.StatusBarButton(WebInspector.UIString("Pretty print"), "sources-toggle-pretty-print-status-bar-item");
|
| - this._button.toggled = false;
|
| + this._button.setToggled(false);
|
| this._button.addEventListener("click", this._toggleFormatScriptSource, this);
|
| this._updateButton(sourcesView.currentUISourceCode());
|
|
|
|
|