HuaJingwen 6 yıl önce
ebeveyn
işleme
3b6419fb8f
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      dist/index.js

+ 2 - 1
dist/index.js

@@ -280,7 +280,8 @@ window.onload = function () {
280 280
                     toast.classList.add('show');
281 281
                     toCopy();
282 282
                     setTimeout(function () {
283
-                        toast.classList.add('hide').remove('show');
283
+                        toast.classList.remove('show');
284
+                        toast.classList.add('hide')
284 285
                     }, 2000)
285 286
                 }, false)
286 287
             }