From 15043e1a113d33ba524a1bc2c5cd474ec75bde74 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Wed, 27 Jan 2016 10:27:24 +0100 Subject: [PATCH] :bug: In Assets::reset() also reset the inline CSS and inline JS arrays --- system/src/Grav/Common/Assets.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/src/Grav/Common/Assets.php b/system/src/Grav/Common/Assets.php index 5790370fc..2887cb577 100644 --- a/system/src/Grav/Common/Assets.php +++ b/system/src/Grav/Common/Assets.php @@ -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; }