diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/views/photo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/photo.js b/src/js/views/photo.js index 6a2b8f6..e3bb489 100644 --- a/src/js/views/photo.js +++ b/src/js/views/photo.js @@ -57,7 +57,7 @@ var that = this; move.done( function( file ) { - $('#photo').attr('src', file.toURL()); + $('#photo').attr('src', file.toURL()).addClass('small').removeClass('placeholder'); that.model.set('file', file.toURL()); FMS.saveCurrentDraft(); @@ -86,7 +86,7 @@ del.done( function() { that.model.set('file', ''); FMS.saveCurrentDraft(); - $('#photo').attr('src', 'images/placeholder-photo.png'); + $('#photo').attr('src', 'images/placeholder-photo.png').addClass('placeholder').removeClass('small'); $('#photo-next-btn .ui-btn-text').text('Skip'); $('#id_del_photo_button').parents('.ui-btn').hide(); |