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,10 +609,10 @@ class ZenBrowserManagerSidebar extends ZenDOMOperatedFeature {
togglePinned(elem) {
if (this.sidebar.hasAttribute('pinned')) {
this._removePinnedFromElements();
this.moveToTabBoxWrapper();
//this.moveToTabBoxWrapper();
} else {
this._setPinnedToElements();
this.moveToTabBox();
//this.moveToTabBox();
}
this.update();
}