質問編集履歴

1

reset\.onclick = function\(\)にclearInterval\( counter \);を追加しました。

2016/05/15 08:36

投稿

chucky
chucky

スコア24

test CHANGED
File without changes
test CHANGED
@@ -75,6 +75,8 @@
75
75
  min.innerHTML = Math.floor( time / 60 );
76
76
 
77
77
  sec.innerHTML = Math.floor( time % 60 );
78
+
79
+ clearInterval( counter );
78
80
 
79
81
  }
80
82