mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 01:33:51 -04:00
Swap the order of the CSS and JS for performance. Fixes #1540.
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user