„js/checking.js“ ändern
This commit is contained in:
parent
58ea014443
commit
f9cda8bbee
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user