OSDN Git Service

関数名を間違えていました
authoryamat0jp <terukohietori@gmail.com>
Wed, 3 Apr 2019 08:22:44 +0000 (17:22 +0900)
committeryamat0jp <terukohietori@gmail.com>
Wed, 3 Apr 2019 08:22:44 +0000 (17:22 +0900)
static/js/top.js

index 3c4bba0..2ac0b2e 100644 (file)
@@ -46,7 +46,7 @@ $(function(){
                }
 
         function startTimer(){
-            timer = startInterval(function(){
+            timer = setInterval(function(){
                 var nextIndex = (currentIndex + 1) % slideCount;
                 goToSlide(nextIndex);
             }, interval);