1178232204@qq.com 3 gadi atpakaļ
vecāks
revīzija
1ca81afa38
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/js/util.js

+ 2 - 2
src/js/util.js

@@ -82,10 +82,10 @@ function toggleWarnBox(text) {
                 'toast4': '../images/toast-4.png',
             };
             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 {
                 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").remove()