diff --git a/jquery.lazyload.js b/jquery.lazyload.js index 26fab660..8f6f070c 100644 --- a/jquery.lazyload.js +++ b/jquery.lazyload.js @@ -127,6 +127,7 @@ settings.load.call(self, elements_left, settings); } }) + .on( "error", settings.onpreloaderror ) .attr("src", $self.attr("data-" + settings.data_attribute)); } });