mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:49:59 +02:00
Fix docShell of selected tab being deactivated when unsplitting.
This commit is contained in:
parent
d6787fd2fd
commit
c906ddca10
1 changed files with 1 additions and 0 deletions
|
@ -929,6 +929,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
|
|||
// zenModeActive allow us to avoid setting docShellisActive to false later on,
|
||||
// see browser-custom-elements.js's patch
|
||||
tab.linkedBrowser.zenModeActive = active;
|
||||
if (!active && tab === gBrowser.selectedTab) continue;
|
||||
try {
|
||||
tab.linkedBrowser.docShellIsActive = active;
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue