From ea6913ca02a21819e0f9e215156d3c4d15804ae2 Mon Sep 17 00:00:00 2001 From: Kevin Ball Date: Tue, 6 Dec 2016 14:51:03 -0800 Subject: [PATCH] Fix bug in orbit and other sizing on old IE --- js/foundation.util.timerAndImageLoader.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/foundation.util.timerAndImageLoader.js b/js/foundation.util.timerAndImageLoader.js index 0da3e054e..b0875ee00 100644 --- a/js/foundation.util.timerAndImageLoader.js +++ b/js/foundation.util.timerAndImageLoader.js @@ -65,6 +65,9 @@ function onImagesLoaded(images, callback){ } // Force load the image else { + // fix for IE. See https://css-tricks.com/snippets/jquery/fixing-load-in-ie-for-cached-images/ + var src = $(this).attr('src'); + $(this).attr('src', src + '?' + (new Date().getTime())); $(this).one('load', function() { singleImageLoaded(); }); -- 2.47.2