Update 0BDFDB.plugin.js
This commit is contained in:
parent
be6a60526b
commit
314b72be82
|
@ -1102,7 +1102,6 @@ module.exports = (_ => {
|
||||||
let app = document.querySelector(BDFDB.dotCN.app) || document.body;
|
let app = document.querySelector(BDFDB.dotCN.app) || document.body;
|
||||||
if (!app) return;
|
if (!app) return;
|
||||||
let id = BDFDB.NumberUtils.generateId(Toasts);
|
let id = BDFDB.NumberUtils.generateId(Toasts);
|
||||||
let orientation = ToastOrientations[config.orientation] || ToastOrientations.left;
|
|
||||||
let orientation = ToastOrientations[config.orientation] || "";
|
let orientation = ToastOrientations[config.orientation] || "";
|
||||||
let toasts = document.querySelector(BDFDB.dotCN.toasts + (orientation ? BDFDB.dotCN[orientation] : ""));
|
let toasts = document.querySelector(BDFDB.dotCN.toasts + (orientation ? BDFDB.dotCN[orientation] : ""));
|
||||||
if (!toasts) {
|
if (!toasts) {
|
||||||
|
|
Loading…
Reference in New Issue