chore: Remove unnecessary styles from ZenStartup.mjs

This commit is contained in:
mauro-balades
2024-08-30 23:10:02 +02:00
parent 212e6e4bf8
commit c0923fbe0a

View File

@@ -98,6 +98,11 @@ var ZenStartup = {
const toolbox = document.getElementById("navigator-toolbox");
browser.prepend(toolbox);
// remove all styles except for the width, since we are xulstoring the complet style list
const width = toolbox.style.width;
toolbox.removeAttribute("style");
toolbox.style.width = width;
// Set a splitter to navigator-toolbox
const splitter = document.createXULElement("splitter");
splitter.setAttribute("id", "zen-sidebar-splitter");