Skip to content

Commit c5c1586

Browse files
authored
Merge pull request #4143 from magento-performance/MC-16005
MC-16005
2 parents c1879e4 + bc7a00c commit c5c1586

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

app/code/Magento/Backend/etc/adminhtml/system.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,6 @@
182182
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
183183
<comment>Minification is not applied in developer mode.</comment>
184184
</field>
185-
<field id="move_inline_to_bottom" translate="label" type="select" sortOrder="25" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
186-
<label>Move JS code to the bottom of the page</label>
187-
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
188-
</field>
189185
</group>
190186
<group id="css" translate="label" type="text" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="1">
191187
<label>CSS Settings</label>

app/code/Magento/Theme/Controller/Result/JsFooterPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
class JsFooterPlugin
1616
{
17-
private const XML_PATH_DEV_MOVE_JS_TO_BOTTOM = 'dev/js/move_inline_to_bottom';
17+
private const XML_PATH_DEV_MOVE_JS_TO_BOTTOM = 'dev/js/move_script_to_bottom';
1818

1919
/**
2020
* @var ScopeConfigInterface

app/code/Magento/Theme/etc/system.xml renamed to app/code/Magento/Theme/etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
99
<system>
1010
<section id="dev" translate="label" type="text" sortOrder="920" showInDefault="1" showInWebsite="1" showInStore="1">
11-
<group id="js" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
12-
<field id="move_inline_to_bottom" translate="label" type="select" sortOrder="25" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
11+
<group id="js">
12+
<field id="move_script_to_bottom" translate="label" type="select" sortOrder="25" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1313
<label>Move JS code to the bottom of the page</label>
1414
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
1515
</field>

app/code/Magento/Theme/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Disallow: /*SID=
6868
</static>
6969
<dev>
7070
<js>
71-
<move_inline_to_bottom>0</move_inline_to_bottom>
71+
<move_script_to_bottom>0</move_script_to_bottom>
7272
</js>
7373
</dev>
7474
</dev>

0 commit comments

Comments
 (0)