diff --git a/campaignion_bar/js/campaignion_bar.js b/campaignion_bar/js/campaignion_bar.js index e66ffd167..66ce9a085 100644 --- a/campaignion_bar/js/campaignion_bar.js +++ b/campaignion_bar/js/campaignion_bar.js @@ -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); }); });