From: Alexander Ebert Date: Fri, 6 Mar 2015 12:54:03 +0000 (+0100) Subject: Defer loading of JavaScript to body end, avoid too early rendering X-Git-Tag: 2.1.2~92 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=91c39ee5a899fd3afbc63a63f2a562973abaf5d5;p=GitHub%2FWoltLab%2FWCF.git Defer loading of JavaScript to body end, avoid too early rendering --- diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index 921d0b5951..47a79436b6 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -13,20 +13,20 @@ //]]> {if JQUERY_SOURCE == 'google'} - - + + {elseif JQUERY_SOURCE == 'microsoft'} - - + + {elseif JQUERY_SOURCE == 'cloudflare'} - - + + {else} - - + + {/if} {if JQUERY_SOURCE != 'local'} - - - - - + + + + + {else} - + {/if}