diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 19:52:47 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 19:52:47 +0200 |
commit | 22de101e406c49697fee54a778f94d3535750342 (patch) | |
tree | db00d55bd0cb46e79fedc99786774a339dc72324 | |
parent | 7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77 (diff) | |
download | jquery-ui-22de101e406c49697fee54a778f94d3535750342.tar.gz jquery-ui-22de101e406c49697fee54a778f94d3535750342.zip |
Progressbar demo: Speed up the progress a bit to make them less annoying
-rw-r--r-- | demos/progressbar/download.html | 2 | ||||
-rw-r--r-- | 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 ); }); </script> </head> |