Fix position of requirejs.config
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 22 May 2015 19:46:51 +0000 (21:46 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 22 May 2015 19:47:57 +0000 (21:47 +0200)
This fixes up commit 40925c54708fd89d9274b74bb3c67f0cb98468e8.

com.woltlab.wcf/templates/headIncludeJavaScript.tpl

index 32cabd9e1c01726fc2e41fd52638c07a68deea5a..11c907d63e6534485ea22ecb9fd10393e239d2ba 100644 (file)
@@ -9,10 +9,6 @@
        var LANGUAGE_ID = {@$__wcf->getLanguage()->languageID};
        var TIME_NOW = {@TIME_NOW};
        var URL_LEGACY_MODE = {if URL_LEGACY_MODE}true{else}false{/if};
-       
-       requirejs.config({
-               baseUrl: '{@$__wcf->getPath()}js'
-       });
 </script>
 
 {if ENABLE_DEBUG_MODE}
 {else}
 <script src="{@$__wcf->getPath()}js/WCF.Core.min.js?v={@LAST_UPDATE_TIME}"></script>
 {/if}
+<script>
+requirejs.config({
+       baseUrl: '{@$__wcf->getPath()}js'
+});
+</script>
 
 <script data-relocate="true">
        {if ENABLE_DEBUG_MODE}