diff --git a/jquery.lazyload.js b/jquery.lazyload.js index 1e0f3f67..14943dcf 100644 --- a/jquery.lazyload.js +++ b/jquery.lazyload.js @@ -136,7 +136,7 @@ /* Non optimal workaround. */ if ((/iphone|ipod|ipad.*os 5/gi).test(navigator.appVersion)) { $window.bind("pageshow", function(event) { - if (event.originalEvent.persisted) { + if (event.originalEvent && event.originalEvent.persisted) { elements.each(function() { $(this).trigger("appear"); });