| Index: Source/devtools/front_end/sources/InplaceFormatterEditorAction.js
|
| diff --git a/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js b/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js
|
| index b0ab997f956b0562c46ad54301870854efe0742c..a527ec64169f798604cfd3224fec31db4cf2a208 100644
|
| --- a/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js
|
| +++ b/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js
|
| @@ -53,7 +53,7 @@ WebInspector.InplaceFormatterEditorAction.prototype = {
|
| this._sourcesView.addEventListener(WebInspector.SourcesView.Events.EditorClosed, this._editorClosed.bind(this));
|
|
|
| this._button = new WebInspector.StatusBarButton(WebInspector.UIString("Format"), "sources-toggle-pretty-print-status-bar-item");
|
| - this._button.toggled = false;
|
| + this._button.setToggled(false);
|
| this._button.addEventListener("click", this._formatSourceInPlace, this);
|
| this._updateButton(null);
|
|
|
|
|