mirror of
https://github.com/getgrav/grav.git
synced 2026-07-04 10:17:55 +02:00
🐛 In Assets::reset() also reset the inline CSS and inline JS arrays
This commit is contained in:
@@ -834,6 +834,7 @@ class Assets
|
||||
public function resetJs()
|
||||
{
|
||||
$this->js = [];
|
||||
$this->inline_js = [];
|
||||
|
||||
return $this;
|
||||
}
|
||||
@@ -846,6 +847,7 @@ class Assets
|
||||
public function resetCss()
|
||||
{
|
||||
$this->css = [];
|
||||
$this->inline_css = [];
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user