We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b0456 commit b54ce80Copy full SHA for b54ce80
app/code/Magento/Theme/Controller/Result/JsFooterPlugin.php
@@ -43,7 +43,8 @@ public function beforeSendResponse(Http $subject)
43
$bodyEndTag = '</body';
44
$isEndBodyTagFound = strpos($content, $bodyEndTag) !== false;
45
$shouldMoveJsToBottom = $this->scopeConfig->isSetFlag(
46
- self::XML_PATH_DEV_MOVE_JS_TO_BOTTOM, ScopeInterface::SCOPE_STORE
+ self::XML_PATH_DEV_MOVE_JS_TO_BOTTOM,
47
+ ScopeInterface::SCOPE_STORE
48
);
49
50
if ($isEndBodyTagFound && $shouldMoveJsToBottom) {
@@ -56,7 +57,7 @@ public function beforeSendResponse(Http $subject)
56
57
58
/**
59
* Extracts and returns script tags found in given content.
- *
60
+ *
61
* @param string $content
62
*/
63
public function extractScriptTags(&$content)
0 commit comments