Skip to content

Commit

Permalink
Changed load() fn to on() since load is deprecatedy
Browse files Browse the repository at this point in the history
  • Loading branch information
Valindo committed Dec 2, 2016
1 parent 0d47d0a commit 8d04eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.coverflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

// Fix height
that.element.height(maxHeight);
images.load(function() {
images.on(function() {
height = that._getCovers().height();
if (height > maxHeight) {
maxHeight = height;
Expand Down

0 comments on commit 8d04eb7

Please sign in to comment.