stuff
This commit is contained in:
parent
79d994e4b9
commit
3ab3077e74
File diff suppressed because one or more lines are too long
|
@ -3180,7 +3180,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
|||
|
||||
BDFDB.openDropdownMenu = function (e, callback, createinner, values, above = false, dark = BDFDB.getDiscordTheme() == BDFDB.disCN.themedark) {
|
||||
if (typeof callback != 'function' || typeof createinner != 'function' || !values || (typeof values != 'object' && Array.isArray(values))) return;
|
||||
let selectControl = (BDFDB.getParentEle(BDFDB.dotCN.select, e.currentTarget) || e.currentTarget).querySelector(BDFDB.dotCN.selectcontrol);
|
||||
let selectControl = (BDFDB.getParentEle(BDFDB.dotCN.selectwrap, e.currentTarget) || e.currentTarget).querySelector(BDFDB.dotCN.selectcontrol);
|
||||
let selectWrap = selectControl.parentElement;
|
||||
if (BDFDB.containsClass(selectWrap, BDFDB.disCN.selectisopen)) return;
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Loading…
Reference in New Issue