Permalink
Browse files

Fixing rendering for that case of using and image for the uploader

  • Loading branch information...
1 parent 9644030 commit 85542ca08722e4808a79914837d0ce3e87691ef0 @joshholt joshholt committed with etgryphon Mar 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 frameworks/foundation/views/upload.js
View
2 frameworks/foundation/views/upload.js
@@ -96,7 +96,7 @@ SCUI.UploadView = SC.View.extend(
.begin('input')
.attr('type', 'file')
.attr('name', inputName)
- .styles({ 'position': 'relative',
+ .addStyle({ 'position': 'relative',
'height': '100%',
'width': 'auto',
'opacity': '0',

0 comments on commit 85542ca

Please sign in to comment.