Skip to content

Commit 0424120

Browse files
author
Pablo Brasero
committedOct 20, 2010
How could this ever work? Probably Webkit defines an "event" global
1 parent 3cebfe5 commit 0424120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎example_html5_upload.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040
4141
function onprogressHandler(evt) {
42-
var percent = event.loaded/event.total*100;
42+
var percent = evt.loaded/evt.total*100;
4343
$('#progress').html('Progress: ' + percent + '%');
4444
}
4545

0 commit comments

Comments
 (0)
Failed to load comments.