From 8d04eb7d323ad62b445ed21aa17706e5fb7b26ac Mon Sep 17 00:00:00 2001 From: Valindo Date: Sat, 3 Dec 2016 00:31:00 +0530 Subject: [PATCH] Changed load() fn to on() since load is deprecatedy --- jquery.coverflow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.coverflow.js b/jquery.coverflow.js index d8638d9..0163398 100644 --- a/jquery.coverflow.js +++ b/jquery.coverflow.js @@ -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;