Skip to content

Commit

Permalink
Merge pull request #338 from moreonion/jquery3
Browse files Browse the repository at this point in the history
Upgrade to jQuery 3
  • Loading branch information
torotil authored Nov 5, 2024
2 parents 2de1b69 + f2f1234 commit dc1ff2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion campaignion_bar/js/campaignion_bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

// call window.load (ie. when all images are loaded) to set
// the correct calculated sizes
$(window).load(function () {
$(window).on('load', function () {
setTimeout(Drupal.aeBar.setDimensions, 1);
});
});
Expand Down

0 comments on commit dc1ff2a

Please sign in to comment.