mirror of
https://github.com/getgrav/grav.git
synced 2026-07-09 07:33:28 +02:00
Fix for issue #158 - load order with debugger on
This commit is contained in:
@@ -244,7 +244,7 @@ class Assets
|
||||
}
|
||||
|
||||
$key = md5($asset);
|
||||
if ($asset && !array_key_exists($key, $this->css)) {
|
||||
if ($asset) {
|
||||
$this->css[$key] = [
|
||||
'asset' => $asset,
|
||||
'priority' => $priority,
|
||||
@@ -286,7 +286,7 @@ class Assets
|
||||
}
|
||||
|
||||
$key = md5($asset);
|
||||
if ($asset && !array_key_exists($key, $this->js)) {
|
||||
if ($asset) {
|
||||
$this->js[$key] = [
|
||||
'asset' => $asset,
|
||||
'priority' => $priority,
|
||||
|
||||
Reference in New Issue
Block a user