Skip to content

Commit 0713b45

Browse files
committed
JI-1690 Support jQuery 3.0 (remove usage of load function)
1 parent 0da93b6 commit 0713b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/interaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ function Interaction(parameters, player, previousState) {
620620
}
621621
else {
622622
// Wait for image to load
623-
$img.load(function () {
623+
$img.on('load', function () {
624624
if ($img.is(':visible')) {
625625
resizeImage($img, max, {
626626
width: this.width,

0 commit comments

Comments
 (0)