Update 0BDFDB.plugin.js
This commit is contained in:
parent
66b077918f
commit
811ac9a1d0
|
@ -16,7 +16,7 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "BDFDB",
|
||||
"author": "DevilBro",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.5",
|
||||
"description": "Give other plugins utility functions"
|
||||
},
|
||||
"rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js",
|
||||
|
@ -4306,9 +4306,6 @@ module.exports = (_ => {
|
|||
className = className.split(" ").filter(n => n.indexOf("da-") != 0).join(selector ? "." : " ");
|
||||
className = className || fallbackClassName;
|
||||
}
|
||||
else {
|
||||
if (BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.normalizedClasses)) className = className.split(" ").filter(n => n.indexOf("da-") != 0).map(n => n.replace(/^([A-z0-9]+?)-([A-z0-9_-]{6})$/g, "$1-$2 da-$1")).join(" ");
|
||||
}
|
||||
return BDFDB.ArrayUtils.removeCopies(className.split(" ")).join(" ") || fallbackClassName;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue