Update ThemeSettings.plugin.js

This commit is contained in:
Mirco Wittrien 2018-12-12 12:13:27 +01:00
parent 1a2862861f
commit 70fbb89771
1 changed files with 4 additions and 1 deletions

View File

@ -182,7 +182,10 @@ class ThemeSettings {
.attr("placeholder", varvalue);
}
let dividers = settingspanelinner.querySelectorAll(BDFDB.dotCN.modaldivider);
if (dividers.length) dividers[dividers.length - 1].remove();
if (dividers.length) {
dividers[dividers.length - 1].style.setProperty("visibility", "hidden", "important");
dividers[dividers.length - 1].style.setProperty("margin-top", "0", "important");
}
BDFDB.initElements(settingspanel);