app/assets/javascripts/instant_upload/single.js.coffee in instant-upload-1.0.7 vs app/assets/javascripts/instant_upload/single.js.coffee in instant-upload-1.0.8
- old
+ new
@@ -127,11 +127,11 @@
# set width of the dropzone div for progressbar
$uploader.find('.iu-simple-dropzone').each ->
$this = $(this)
- width = $this.find('img').width()
- height = $this.find('img').height()
+ width = $this.find('img').outerWidth()
+ height = $this.find('img').outerHeight()
$this.width width
$this.height height
$this.find('img').css 'width', width