Dès le focus in on update les infos

This commit is contained in:
Michael RICOIS 2012-04-17 08:54:08 +00:00
parent 86cfe1e141
commit bd66d2350b

View File

@ -11,6 +11,7 @@ $(document).ready(function(){
}); });
$(document).focusin(function(){ $(document).focusin(function(){
updateInfo();
timer = setInterval(updateInfo, 10000); timer = setInterval(updateInfo, 10000);
}); });
$(document).focusout(function(){ $(document).focusout(function(){