]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update foundation.js 6189/head
authorMike Garrett <hello@kernme.org>
Mon, 12 Jan 2015 22:47:07 +0000 (17:47 -0500)
committerMike Garrett <hello@kernme.org>
Mon, 12 Jan 2015 22:47:07 +0000 (17:47 -0500)
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.

js/foundation/foundation.js

index 0c185a6b32f746a7276a81afedb64d4851b3fcf9..328e5e44043001e60ef5350863ea5856f32ea2c9 100644 (file)
 
     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')) {