diff --git a/airsonic-main/src/main/webapp/script/jquery.fancyzoom.js b/airsonic-main/src/main/webapp/script/jquery.fancyzoom.js index 26c866cf..c5a6474c 100644 --- a/airsonic-main/src/main/webapp/script/jquery.fancyzoom.js +++ b/airsonic-main/src/main/webapp/script/jquery.fancyzoom.js @@ -101,7 +101,7 @@ if (pImage.src !== href) { preloading = true; pImage = new Image(); - $(pImage).load(function() { + $(pImage).on('load', function() { preloading = false; }); pImage.src = href;