Force loading of CSS before JS
authorAlexander Ebert <ebert@woltlab.com>
Sat, 7 Mar 2015 00:00:21 +0000 (01:00 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 7 Mar 2015 00:00:21 +0000 (01:00 +0100)
com.woltlab.wcf/templates/headInclude.tpl

index f6695c669e4b480346e3989de8e0741a7929a3fc..b7e5786e20e08af493635556e9c023e861fe05dc 100644 (file)
@@ -6,6 +6,10 @@
 {implode from=$__wcf->getMetaTagHandler() item=__metaTag glue="\n"}{@$__metaTag}{/implode}
 {event name='metaTags'}
 
+<!-- Stylesheets -->
+{@$__wcf->getStyleHandler()->getStylesheet()}
+{event name='stylesheets'}
+
 {include file='headIncludeJavaScript'}
 
 <script data-relocate="true">
 {* DEPRECATED -- PLEASE USE javascriptInclude@headIncludeJavaScript *}
 {event name='javascriptInclude'}
 
-<!-- Stylesheets -->
-{@$__wcf->getStyleHandler()->getStylesheet()}
-{event name='stylesheets'}
-
 <!-- Icons -->
 <link rel="icon" href="{@$__wcf->getFavicon()}" type="image/x-icon" />
 <link rel="apple-touch-icon" href="{@$__wcf->getPath()}images/apple-touch-icon.png" />