mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 00:39:59 +02:00
refactor: Remove redundant code in ZenViewSplitter
This commit is contained in:
parent
783f9c01ed
commit
11233e0057
1 changed files with 0 additions and 7 deletions
|
@ -429,13 +429,6 @@ var gZenViewSplitter = new class {
|
|||
const browser = tab.linkedBrowser.closest(".browserSidebarContainer");
|
||||
if (active) {
|
||||
browser.setAttribute("zen-split", "true");
|
||||
const currentStyle = browser.getAttribute("style");
|
||||
browser.setAttribute(
|
||||
"style",
|
||||
`${currentStyle}
|
||||
-moz-subtree-hidden-only-visually: 0;
|
||||
visibility: visible !important;`
|
||||
);
|
||||
} else {
|
||||
browser.removeAttribute("zen-split");
|
||||
browser.removeAttribute("style");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue