Swap the order of the CSS and JS for performance. Fixes #1540.

This commit is contained in:
Bharat Mediratta
2010-12-16 22:18:04 -08:00
parent 6e58fced20
commit b6c202d572
2 changed files with 2 additions and 2 deletions

View File

@@ -284,8 +284,8 @@ class Theme_View_Core extends Gallery_View {
if ($function == "head") {
// Merge the theme CSS/JS at the end
$this->css = array_merge($this->css, $save_css);
array_unshift($blocks, $this->combine_files($this->css, "css"));
array_unshift($blocks, $this->combine_files($this->scripts, "javascript"));
array_unshift($blocks, $this->combine_files($this->css, "css"));
}
if (Session::instance()->get("debug")) {