From: Benoît Pin Date: Fri, 21 Jun 2013 09:38:14 +0000 (+0200) Subject: jslint ok. X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/c518ef2c2afd05c4f67b356d5dc88ad165f01817?ds=sidebyside;hp=--cc jslint ok. --- c518ef2c2afd05c4f67b356d5dc88ad165f01817 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); } };