From 22de101e406c49697fee54a778f94d3535750342 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Thu, 24 Apr 2014 19:52:47 +0200 Subject: Progressbar demo: Speed up the progress a bit to make them less annoying --- demos/progressbar/download.html | 2 +- demos/progressbar/label.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/demos/progressbar/download.html b/demos/progressbar/download.html index bb42ca91e..c35d47333 100644 --- a/demos/progressbar/download.html +++ b/demos/progressbar/download.html @@ -69,7 +69,7 @@ progressbar.progressbar( "value", val + Math.floor( Math.random() * 3 ) ); if ( val <= 99 ) { - progressTimer = setTimeout( progress, 100 ); + progressTimer = setTimeout( progress, 50 ); } } diff --git a/demos/progressbar/label.html b/demos/progressbar/label.html index 62a4bf074..f3fde9676 100644 --- a/demos/progressbar/label.html +++ b/demos/progressbar/label.html @@ -39,14 +39,14 @@ function progress() { var val = progressbar.progressbar( "value" ) || 0; - progressbar.progressbar( "value", val + 1 ); + progressbar.progressbar( "value", val + 2 ); if ( val < 99 ) { - setTimeout( progress, 100 ); + setTimeout( progress, 80 ); } } - setTimeout( progress, 3000 ); + setTimeout( progress, 2000 ); }); -- cgit v1.2.3