Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2020-10-30 16:47:12 +01:00
parent e1eef70abb
commit d9a4b82cbd
1 changed files with 1 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ module.exports = (_ => {
};
BDFDB.NotificationUtils.notice = function (text, options = {}) {
if (!text) return;
let layers = document.querySelector(BDFDB.dotCN.layers);
let layers = document.querySelector(BDFDB.dotCNC.layers + BDFDB.dotCN.appmount);
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="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>`);