Moved CSS above scripts to ensure CSS files are downloaded in parallel. This can improve page load speed in some browsers.

This commit is contained in:
Jason Nall
2014-02-19 20:22:42 -05:00
parent fdd2dc322b
commit 7937ecb6b4

View File

@@ -14,6 +14,12 @@
<!-- BEGIN pluginCSS -->
<link rel="stylesheet" href="{pluginCSS.path}?{cache-buster}">
<!-- END pluginCSS -->
<!-- TODO : this has to be refactored, maybe configured from ACP? -baris -->
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<!-- IF useCustomCSS -->
<style type="text/css">{customCSS}</style>
<!-- ENDIF useCustomCSS -->
<script>
var RELATIVE_PATH = "{relative_path}";
</script>
@@ -31,12 +37,6 @@
}
});
</script>
<!-- TODO : this has to be refactored, maybe configured from ACP? -baris -->
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<!-- IF useCustomCSS -->
<style type="text/css">{customCSS}</style>
<!-- ENDIF useCustomCSS -->
</head>
<body>