„js/checking.js“ ändern

This commit is contained in:
Givou 2021-03-12 20:42:17 +01:00
parent 58ea014443
commit f9cda8bbee

View File

@ -2,7 +2,7 @@ timer();
var checkbox = document.getElementById("cb1"); var checkbox = document.getElementById("cb1");
function timer() { function timer() {
var timeleft = 10; var timeleft = 300;
var downloadTimer = setInterval(function(){ var downloadTimer = setInterval(function(){
if (checkbox.checked) { if (checkbox.checked) {
if(timeleft <= 0){ if(timeleft <= 0){