|
|
@ -24,7 +24,7 @@
|
|
|
|
var input = document.getElementById('time');
|
|
|
|
var input = document.getElementById('time');
|
|
|
|
var submit = document.getElementById('submit');
|
|
|
|
var submit = document.getElementById('submit');
|
|
|
|
var seconds = 0;
|
|
|
|
var seconds = 0;
|
|
|
|
var interval; // varibale holding setInterval
|
|
|
|
var interval; // variable holding setInterval
|
|
|
|
|
|
|
|
|
|
|
|
input.addEventListener("keyup", function(event) {
|
|
|
|
input.addEventListener("keyup", function(event) {
|
|
|
|
if (event.keyCode === 13) {
|
|
|
|
if (event.keyCode === 13) {
|
|
|
|