Skip to content

Commit

Permalink
fixed fullscreen return bug on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhellsing committed Oct 28, 2013
1 parent ff3f8e6 commit 09a5985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/galleria.js
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ Galleria = window.Galleria = function() {

// reload iframe src manually
var frame = self._controls.frames[ self._controls.active ];
if ( frame ) {
if ( frame && frame.image ) {
frame.image.src = frame.image.src;
}
}
Expand Down

0 comments on commit 09a5985

Please sign in to comment.