From 5af570ef80965e6333564cdab7932929189e7df8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 3 Nov 2020 13:27:00 +0100 Subject: [PATCH] Bump the head.js timeout from 7s to 60s head.js will fire the ready event even when the script is still loading, causing the callback to be invoked on slow 3G networks before the script arrived. See https://github.com/headjs/headjs/issues/330 --- wcfsetup/install/files/js/WCF.Assets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Assets.js b/wcfsetup/install/files/js/WCF.Assets.js index f9262d2825..8291ac9210 100644 --- a/wcfsetup/install/files/js/WCF.Assets.js +++ b/wcfsetup/install/files/js/WCF.Assets.js @@ -7,7 +7,7 @@ (function(){var a=false,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function g(){if(!a&&this.init)this.init.apply(this,arguments);}var d=this.prototype;a=true;var e=new this;a=false;for(var f in c){e[f]=typeof c[f]=="function"&&typeof d[f]=="function"&&b.test(c[f])?function(a,b){return function(){var c=this._super;this._super=d[a];var e=b.apply(this,arguments);this._super=c;return e;};}(f,c[f]):c[f]}g.prototype=e;g.prototype.constructor=g;g.extend=arguments.callee;return g;};})(); /*! head.load - v1.0.3 */ -(function(n,t){"use strict";function w(){}function u(n,t){if(n){typeof n=="object"&&(n=[].slice.call(n));for(var i=0,r=n.length;i