]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Revert "Update foundation.js" 6219/head
authorjeaniec <jeanie@zurb.com>
Fri, 23 Jan 2015 23:04:08 +0000 (15:04 -0800)
committerjeaniec <jeanie@zurb.com>
Fri, 23 Jan 2015 23:04:08 +0000 (15:04 -0800)
js/foundation/foundation.js

index 3794b6790e8c054d652b069dade762d0618dce18..57182a7f5870ed42a954b32c3a4c92b0c689bd27 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')) {