chore: Update ZenSidebarManager to fix panel handling and data persistence

This commit is contained in:
Mauro Balades
2024-08-04 12:27:44 +02:00
parent 3900908ed7
commit 4e61ab5e98
2 changed files with 3 additions and 21 deletions

View File

@@ -511,9 +511,9 @@ var gZenBrowserManagerSidebar = {
if (browser) {
browser.remove();
}
this._closeSidebarPanel();
this.close();
this._currentPanel = null;
this._lastOpenedPanel = null;
this.update();
Services.prefs.setStringPref("zen.sidebar.data", JSON.stringify(data));
},