projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
43adb66
)
jslint ok.
author
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 21 Jun 2013 09:38:14 +0000
(11:38 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 21 Jun 2013 09:38:14 +0000
(11:38 +0200)
skins/fileupload.js
patch
|
blob
|
history
diff --git
a/skins/fileupload.js
b/skins/fileupload.js
index
e467281
..
da5c08d
100644
(file)
--- a/
skins/fileupload.js
+++ b/
skins/fileupload.js
@@
-71,7
+71,7
@@
DDFileUploader.prototype.progressHandler = function(evt) {
if (evt.lengthComputable) {
var progress = evt.loaded / evt.total;
this.updateProgressBar(progress);
if (evt.lengthComputable) {
var progress = evt.loaded / evt.total;
this.updateProgressBar(progress);
- var currentOpacity = this.previewImg.style.opacity
+ var currentOpacity = this.previewImg.style.opacity
;
this.previewImg.style.opacity = Math.max(currentOpacity, progress);
}
};
this.previewImg.style.opacity = Math.max(currentOpacity, progress);
}
};