summaryrefslogtreecommitdiffstats
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/webkitTest.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/html/webkitTest.html b/src/html/webkitTest.html
index 3f117ea..bb80a69 100644
--- a/src/html/webkitTest.html
+++ b/src/html/webkitTest.html
@@ -38,7 +38,14 @@ function downloadFile(){
jsObject.startDownload(tmp);
}
function updateProgress(i){
- $("#progressbar").progressbar({ value: i });
+ if (i > 0 && i < 100)
+ {
+ $("#progressbar").progressbar({ value: i });
+ }
+ else
+ {
+ $("#progressbar").progressbar({ value: 0 });
+ }
}
</script>