From: Kevin Ball Date: Tue, 6 Dec 2016 22:51:03 +0000 (-0800) Subject: Fix bug in orbit and other sizing on old IE X-Git-Tag: v6.3.0-rc2~3^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9463%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix bug in orbit and other sizing on old IE --- 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(); });