From 09a5985aa4c5d1a6c873c4775c056b43de27135b Mon Sep 17 00:00:00 2001 From: David Hellsing Date: Mon, 28 Oct 2013 13:19:05 +0100 Subject: [PATCH] fixed fullscreen return bug on mobile --- src/galleria.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/galleria.js b/src/galleria.js index 294489ba..0bca30fb 100644 --- a/src/galleria.js +++ b/src/galleria.js @@ -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; } }