From 20820562b1ec8e7f87b7ab861ad17d7ea7fd30ce Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 31 Aug 2016 17:23:52 +0800 Subject: [PATCH] Update lightslider.js --- src/js/lightslider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/lightslider.js b/src/js/lightslider.js index aa84598..6d9c79f 100644 --- a/src/js/lightslider.js +++ b/src/js/lightslider.js @@ -453,7 +453,7 @@ $this.auto(); } }else{ - obj.find('img').load(function () { + obj.find('img').on('load', function () { setTimeout(function () { setCss(); if (!interval) { @@ -1137,4 +1137,4 @@ }); return this; }; -}(jQuery)); \ No newline at end of file +}(jQuery));