Преглед изворни кода

Bug Fix: Need to cancel the interval.

Naotoshi Fujita пре 2 година
родитељ
комит
7e09183b87
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/js/components/Live/Live.ts

+ 1 - 0
src/js/components/Live/Live.ts

@@ -83,6 +83,7 @@ export function Live( Splide: Splide, Components: Components, options: Options )
       interval.start();
     } else {
       remove( sr );
+      interval.cancel();
     }
   }