🐛 In Assets::reset() also reset the inline CSS and inline JS arrays

This commit is contained in:
Flavio Copes
2016-01-27 10:27:24 +01:00
parent 4ef5236a53
commit 15043e1a11

View File

@@ -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;
}