From 1e7c0c929d3070625e958abe1b582e73004a6e4c Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 20 Apr 2012 15:31:15 +0000 Subject: [PATCH] Correction du script --- public/scripts/enrichissement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/enrichissement.js b/public/scripts/enrichissement.js index 0144c957..6a678a12 100644 --- a/public/scripts/enrichissement.js +++ b/public/scripts/enrichissement.js @@ -1,4 +1,4 @@ -var nbSeconds = 10; +var nbSeconds = 5; var timer; function updateInfo() { @@ -34,7 +34,7 @@ $(document).ready(function(){ //Focus entrant sur le document, on relance le script $(document).focusin(function(){ updateInfo(); - timer = setInterval(updateInfo, nbSeconds*100); + timer = setInterval(updateInfo, nbSeconds*1000); }); //Sortie du focus sur le document on arrĂȘte le script