This commit is contained in:
Mirco Wittrien 2020-09-01 11:09:09 +02:00
parent 2a79f03578
commit 8be9b00dd0
2 changed files with 2 additions and 4 deletions

View File

@ -815,7 +815,7 @@
if (typeof options.type != "string" || !BDFDB.disCN["tooltip" + options.type.toLowerCase()]) options.type = "top";
let type = options.type.toLowerCase();
BDFDB.DOMUtils.addClass(tooltip, BDFDB.disCN["tooltip" + type]);
BDFDB.DOMUtils.addClass(tooltip, BDFDB.disCN["tooltip" + type], options.className, options.selector);
let fontColorIsGradient = false, customBackgroundColor = false, style = "";
if (options.style) style += options.style;
@ -842,8 +842,6 @@
if (options.list || BDFDB.ObjectUtils.is(options.guild)) BDFDB.DOMUtils.addClass(tooltip, BDFDB.disCN.tooltiplistitem);
if (options.selector) BDFDB.DOMUtils.addClass(tooltip, options.selector);
if (BDFDB.ObjectUtils.is(options.guild)) {
let streamOwnerIds = LibraryModules.StreamUtils.getAllApplicationStreams().filter(app => app.guildId === options.guild.id).map(app => app.ownerId) || [];
let streamOwners = streamOwnerIds.map(ownerId => LibraryModules.UserStore.getUser(ownerId)).filter(n => n);

File diff suppressed because one or more lines are too long