Modification de l'interval
This commit is contained in:
parent
e86cacf90b
commit
011fb14516
@ -11,12 +11,12 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
$(document).focusin(function(){
|
||||
timer = setInterval(updateInfo, 30000);
|
||||
timer = setInterval(updateInfo, 10000);
|
||||
});
|
||||
$(document).focusout(function(){
|
||||
clearInterval(timer);
|
||||
});
|
||||
timer = setInterval(updateInfo, 30000);
|
||||
timer = setInterval(updateInfo, 10000);
|
||||
});
|
||||
|
||||
var timer;
|
||||
|
Loading…
Reference in New Issue
Block a user