Bug 1959121 - Don't forget previously open sidebar panels for legacy sidebar.revamp=false sidebars. r=sidebar-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D245006
This commit is contained in:
@@ -1753,7 +1753,7 @@ var SidebarController = {
|
||||
* hiding of the sidebar.
|
||||
* @param {boolean} options.dismissPanel -Only close the panel or close the whole sidebar (the default.)
|
||||
*/
|
||||
hide({ triggerNode, dismissPanel = true } = {}) {
|
||||
hide({ triggerNode, dismissPanel = this.sidebarRevampEnabled } = {}) {
|
||||
if (!this.isOpen) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user