From: Mike Garrett Date: Mon, 12 Jan 2015 22:47:07 +0000 (-0500) Subject: Update foundation.js X-Git-Tag: v5.5.1~14^2~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6189%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update foundation.js I can't think of a single reason you would want to append a random number query string to an image url. If I'm wrong, please tell me. --- diff --git a/js/foundation/foundation.js b/js/foundation/foundation.js index 0c185a6b3..328e5e440 100644 --- a/js/foundation/foundation.js +++ b/js/foundation/foundation.js @@ -133,14 +133,6 @@ function bindLoad () { this.one('load', loaded); - - if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { - var src = this.attr( 'src' ), - param = src.match( /\?/ ) ? '&' : '?'; - - param += 'random=' + (new Date()).getTime(); - this.attr('src', src + param); - } } if (!image.attr('src')) {