Index: Source/devtools/front_end/ui/SplitWidget.js |
diff --git a/Source/devtools/front_end/ui/SplitWidget.js b/Source/devtools/front_end/ui/SplitWidget.js |
index 0713e2257b666dbd79ad56d666473b626148c560..592e2a1227e47dd1c39aa0fc2c032daf8c9cc28a 100644 |
--- a/Source/devtools/front_end/ui/SplitWidget.js |
+++ b/Source/devtools/front_end/ui/SplitWidget.js |
@@ -892,7 +892,7 @@ WebInspector.SplitWidget.prototype = { |
this._showHideSidebarButton.classList.toggle("right-sidebar-show-hide-button", this.isVertical() && this.isSidebarSecond()); |
this._showHideSidebarButton.classList.toggle("bottom-sidebar-show-hide-button", !this.isVertical() && this.isSidebarSecond()); |
this._showHideSidebarButton.classList.toggle("left-sidebar-show-hide-button", this.isVertical() && !this.isSidebarSecond()); |
- WebInspector.Tooltip.install(this._showHideSidebarButton, sidebarHidden ? WebInspector.UIString("Show %s", this._showHideSidebarButtonTitle) : WebInspector.UIString("Hide %s", this._showHideSidebarButtonTitle)); |
+ this._showHideSidebarButton.title = sidebarHidden ? WebInspector.UIString("Show %s", this._showHideSidebarButtonTitle) : WebInspector.UIString("Hide %s", this._showHideSidebarButtonTitle); |
}, |
__proto__: WebInspector.Widget.prototype |