|
@@ -82,10 +82,10 @@ function toggleWarnBox(text) {
|
|
'toast4': '../images/toast-4.png',
|
|
'toast4': '../images/toast-4.png',
|
|
};
|
|
};
|
|
if (type == 'toast1' || type == 'toast2') {
|
|
if (type == 'toast1' || type == 'toast2') {
|
|
- $(name).find(".box[data-index=" + i + "] ").find(".moduleCenter").append(`<img id="toast" class="toast" src=${typeClass[type]}/>`)
|
|
|
|
|
|
+ $(name).find(".box[data-index=" + i + "] ").find(".moduleCenter").append(`<img id="toast" class="toast" src=${typeClass[type]} />`)
|
|
} else {
|
|
} else {
|
|
console.log(123);
|
|
console.log(123);
|
|
- $(name).find(".moduleBox ").find(".pushItemBox[data-index=" + i + "] ").append(`<img id="toast" class="toast" src=${typeClass[type]}/>`)
|
|
|
|
|
|
+ $(name).find(".moduleBox ").find(".pushItemBox[data-index=" + i + "] ").append(`<img id="toast" class="toast" src=${typeClass[type]} />`)
|
|
}
|
|
}
|
|
$("#toast").fadeOut(time, function () {
|
|
$("#toast").fadeOut(time, function () {
|
|
$("#toast").remove()
|
|
$("#toast").remove()
|