Skip to content

Node.js based forum software built for the modern web

minor cleanup of header tpl

Julian Lam84584a1b5b5a
diff --git a/public/templates/header.tpl b/public/templates/header.tpl
index a9b9458d9c..58e9fec967 100644
--- a/public/templates/header.tpl
+++ b/public/templates/header.tpl
@@ -8,9 +8,6 @@
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
- <script>
- var RELATIVE_PATH = "{relative_path}";
- </script>
<link href="{cssSrc}" rel="stylesheet" media="screen">
<link href="{relative_path}/vendor/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="{relative_path}/vendor/fontawesome/css/font-awesome.min.css">
@@ -22,6 +19,7 @@
<script src="{relative_path}/vendor/requirejs/require.js"></script>
<script src="{relative_path}/vendor/bootbox/bootbox.min.js"></script>
<script>
+ var RELATIVE_PATH = "{relative_path}";
require.config({
baseUrl: "{relative_path}/src/modules",
waitSeconds: 3