mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-28 02:34:10 -04:00
Fix some bugs in the combined JS/CSS code (most of which I introduced
in my last refactor): 1) Actually combine the JS (I was only combining the CSS) 2) Add line breaks between the files and comment them so that we can find a specific file inside the blob. 3) Add an HTML comment to help developers figure out why they can't find their CSS/JS.
This commit is contained in:
@@ -100,7 +100,7 @@ class Admin_View_Core extends Gallery_View {
|
||||
|
||||
if ($function == "head") {
|
||||
array_unshift($blocks, $this->combine_files($this->css, "css"));
|
||||
array_unshift($blocks, $this->combine_files($this->css, "javascript"));
|
||||
array_unshift($blocks, $this->combine_files($this->scripts, "javascript"));
|
||||
}
|
||||
|
||||
if (Session::instance()->get("debug")) {
|
||||
|
||||
Reference in New Issue
Block a user