From c02307eeb496e409c38401206170c19749eaaeb5 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sun, 20 Sep 2020 13:55:30 +0200 Subject: [PATCH] stuff --- Library/0BDFDB.plugin.js | 2 +- Library/_res/BDFDB.data.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index f11906476f..9b9b01bf2d 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -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(`
`); + let notice = BDFDB.DOMUtils.create(`
`); 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]) { diff --git a/Library/_res/BDFDB.data.json b/Library/_res/BDFDB.data.json index 873fbd9ec5..1d4f606ec2 100644 --- a/Library/_res/BDFDB.data.json +++ b/Library/_res/BDFDB.data.json @@ -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"],