stuff
This commit is contained in:
parent
a98d29ca77
commit
c02307eeb4
|
@ -1066,7 +1066,7 @@ module.exports = (_ => {
|
|||
let layers = document.querySelector(BDFDB.dotCN.layers);
|
||||
if (!layers) return;
|
||||
let id = BDFDB.NumberUtils.generateId(NotificationBars);
|
||||
let notice = BDFDB.DOMUtils.create(`<div class="${BDFDB.disCNS.notice + BDFDB.disCN.noticewrapper}" notice-id="${id}"><div class="${BDFDB.disCN.noticedismiss}" style="height: 36px !important; position: absolute !important; top: 0 !important; right: 0 !important; left: unset !important;"></div><span class="notice-message"></span></div>`);
|
||||
let notice = BDFDB.DOMUtils.create(`<div class="${BDFDB.disCNS.notice + BDFDB.disCN.noticewrapper}" notice-id="${id}"><div class="${BDFDB.disCN.noticedismiss}" style="width: 36px !important; height: 36px !important; position: absolute !important; top: 0 !important; right: 0 !important; left: unset !important;"></div><span class="notice-message"></span></div>`);
|
||||
layers.parentElement.insertBefore(notice, layers);
|
||||
let noticeMessage = notice.querySelector(".notice-message");
|
||||
if (options.platform) for (let platform of options.platform.split(" ")) if (DiscordClasses["noticeicon" + platform]) {
|
||||
|
|
|
@ -2004,7 +2004,7 @@
|
|||
"noticedark": ["Notice", "colorDark"],
|
||||
"noticedefault": ["Notice", ["noticeDefault", "colorDefault"]],
|
||||
"noticedownload": ["Notice", ["noticeDownload", "colorDownload"]],
|
||||
"noticedismiss": ["Notice", "dismiss"],
|
||||
"noticedismiss": ["Notice", ["dismiss", "closeButton"]],
|
||||
"noticeicon": ["NoticePlatform", "icon"],
|
||||
"noticeiconandroid": ["NoticePlatform", "iconAndroid"],
|
||||
"noticeiconapple": ["NoticePlatform", "iconApple"],
|
||||
|
|
Loading…
Reference in New Issue