Skip to content

Commit

Permalink
Update lightslider.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zolotokrylin authored Aug 31, 2016
1 parent e565b3c commit 2082056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/lightslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
$this.auto();
}
}else{
obj.find('img').load(function () {
obj.find('img').on('load', function () {
setTimeout(function () {
setCss();
if (!interval) {
Expand Down Expand Up @@ -1137,4 +1137,4 @@
});
return this;
};
}(jQuery));
}(jQuery));

0 comments on commit 2082056

Please sign in to comment.