Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit c00852a

Browse files
authored
Merge pull request #1152 from Firesphere/patch-1
Fix for breaking change in jQuery 3
2 parents a6a8fff + d7ab411 commit c00852a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/helpers/jquery.fancybox-thumbs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
return;
7070
}
7171

72-
$("<img />").load(function () {
72+
$("<img />").on("load", function () {
7373
var width = this.width,
7474
height = this.height,
7575
widthRatio, heightRatio, parent;
@@ -162,4 +162,4 @@
162162
}
163163
}
164164

165-
}(jQuery));
165+
}(jQuery));

0 commit comments

Comments
 (0)