Permalink
Browse files

finalizing...

  • Loading branch information...
1 parent bdfa56a commit 2f3532be0873b7e5fa342c7b43e36fece61a4544 @davidhellsing davidhellsing committed Apr 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/galleria.js
View
@@ -5422,7 +5422,8 @@ Galleria.Picture.prototype = {
}, options);
if( this.isIframe ) {
- $( self.image ).width(options.width).height(options.height).removeAttr('width').removeAttr('height');
+ $( this.image ).width( options.width ).height( options.height ).removeAttr( 'width' ).removeAttr( 'height' );
+ $( this.container ).width( options.width ).height( options.height) ;
options.complete.call(self, self);
if( this.image.contentWindow ) {
$( this.image.contentWindow ).trigger('resize');

0 comments on commit 2f3532b

Please sign in to comment.