zhouna 3 роки тому
батько
коміт
035f00abd2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/js/modal.js

+ 1 - 1
src/js/modal.js

@@ -109,7 +109,7 @@ const jQuery = require('jquery');
         }
         if (ops.type == 'tip') {
             setTimeout(function () {
-                $(".divModal").remove();
+                box.remove();
             }, ops.time);
         }
         if (ops.callback && typeof ops.callback === 'function') {