mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 16:55:31 +02:00
Fixed web panels being reloaded when unpining them
This commit is contained in:
parent
c6775bae20
commit
92bc72c4ac
1 changed files with 3 additions and 3 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue