Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2023-10-25 12:53:08 +02:00
parent a443bed69d
commit ea42a3b912
1 changed files with 1 additions and 1 deletions

View File

@ -4510,7 +4510,7 @@ module.exports = (_ => {
return BDFDB.ArrayUtils.removeCopies(className.split(" ")).join(" ") || fallbackClassName;
}
};
const generationChars = "0123456789ABCDEFGHIJKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split("");
const generationChars = "0123456789ABCDEFGHIJKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-".split("");
Internal.generateClassId = function () {
let id = "";
while (id.length < 6) id += generationChars[Math.floor(Math.random() * generationChars.length)];