Skip to content

Commit

Permalink
Merge pull request #277 from hommedeplage/revert-1-jquery-v3.1-compat…
Browse files Browse the repository at this point in the history
…ibility

jquery v3.1 compatibility
  • Loading branch information
sachinchoolur authored Oct 25, 2016
2 parents 30e5025 + 2082056 commit e03b43f
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 e03b43f

Please sign in to comment.