X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/blobdiff_plain/43adb66278c3cc61064db3039f1c27819525c4e3..c518ef2c2afd05c4f67b356d5dc88ad165f01817:/skins/fileupload.js diff --git a/skins/fileupload.js b/skins/fileupload.js index e467281..da5c08d 100644 --- 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); - var currentOpacity = this.previewImg.style.opacity + var currentOpacity = this.previewImg.style.opacity; this.previewImg.style.opacity = Math.max(currentOpacity, progress); } };