Fixed web panels being reloaded when unpining them

This commit is contained in:
mr. M 2024-11-02 20:15:21 +01:00
parent c6775bae20
commit 92bc72c4ac
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -609,12 +609,12 @@ class ZenBrowserManagerSidebar extends ZenDOMOperatedFeature {
togglePinned(elem) { togglePinned(elem) {
if (this.sidebar.hasAttribute('pinned')) { if (this.sidebar.hasAttribute('pinned')) {
this._removePinnedFromElements(); this._removePinnedFromElements();
this.moveToTabBoxWrapper(); //this.moveToTabBoxWrapper();
} else { } else {
this._setPinnedToElements(); this._setPinnedToElements();
this.moveToTabBox(); //this.moveToTabBox();
} }
this.update(); this.update();
} }
get sidebarElement() { get sidebarElement() {