From 814b36a08a60f4159cdcbb1c466a6a0027440b6c Mon Sep 17 00:00:00 2001 From: TinaH Date: Wed, 8 Jun 2022 17:03:05 +0200 Subject: [PATCH] Turbolinks compatibility (#1320) --- src/JavascriptRenderer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/JavascriptRenderer.php b/src/JavascriptRenderer.php index 0cf3983c4..428b15a9d 100644 --- a/src/JavascriptRenderer.php +++ b/src/JavascriptRenderer.php @@ -63,11 +63,11 @@ public function renderHead() $cssRoute = preg_replace('/\Ahttps?:/', '', $cssRoute); $jsRoute = preg_replace('/\Ahttps?:/', '', $jsRoute); - $html = ""; - $html .= ""; + $html = ""; + $html .= ""; if ($this->isJqueryNoConflictEnabled()) { - $html .= '' . "\n"; + $html .= '' . "\n"; } $html .= $this->getInlineHtml();