stuff
This commit is contained in:
parent
a8392ec607
commit
f97359f21e
File diff suppressed because one or more lines are too long
|
@ -2616,12 +2616,12 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
if (BDFDB.containsClass(container, 'DevilBro-settings')) BDFDB.addClass(container, 'BDFDB-settings');
|
if (BDFDB.containsClass(container, 'DevilBro-settings')) BDFDB.addClass(container, 'BDFDB-settings');
|
||||||
var islighttheme = BDFDB.getDiscordTheme() == BDFDB.disCN.themelight;
|
var islighttheme = BDFDB.getDiscordTheme() == BDFDB.disCN.themelight;
|
||||||
var languagestrings = BDFDB.getLibraryStrings();
|
var languagestrings = BDFDB.getLibraryStrings();
|
||||||
container.querySelectorAll(".BDFDB-containerarrow").forEach(ele => {
|
container.querySelectorAll(".BDFDB-containertext").forEach(ele => {
|
||||||
if (BDFDB.containsClass(ele.parentElement.nextElementSibling, "BDFDB-collapsecontainer")) {
|
if (BDFDB.containsClass(ele.nextElementSibling, "BDFDB-collapsecontainer")) {
|
||||||
if (BDFDB.containsClass(ele, "closed")) BDFDB.toggleEles(ele.parentElement.nextElementSibling, false);
|
if (BDFDB.containsClass(ele.firstElementChild, "closed")) BDFDB.toggleEles(ele.nextElementSibling, false);
|
||||||
addInitEventListener(ele, 'click', e => {
|
addInitEventListener(ele, 'click', e => {
|
||||||
BDFDB.toggleEles(ele.parentElement.nextElementSibling, BDFDB.containsClass(ele, "closed"));
|
BDFDB.toggleEles(ele.nextElementSibling, BDFDB.containsClass(ele.firstElementChild, "closed"));
|
||||||
BDFDB.toggleClass(ele, "closed");
|
BDFDB.toggleClass(ele.firstElementChild, "closed");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -5384,7 +5384,8 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
height: 16px;
|
height: 16px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: bottom;
|
position: relative;
|
||||||
|
top: 2px;
|
||||||
transition: transform .3s ease;
|
transition: transform .3s ease;
|
||||||
transform: rotate(0);
|
transform: rotate(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue