File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 182
182
<source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
183
183
<comment >Minification is not applied in developer mode.</comment >
184
184
</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 >
189
185
</group >
190
186
<group id =" css" translate =" label" type =" text" sortOrder =" 110" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" >
191
187
<label >CSS Settings</label >
Original file line number Diff line number Diff line change 14
14
*/
15
15
class JsFooterPlugin
16
16
{
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 ' ;
18
18
19
19
/**
20
20
* @var ScopeConfigInterface
Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Config:etc/system_file.xsd" >
9
9
<system >
10
10
<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" >
13
13
<label >Move JS code to the bottom of the page</label >
14
14
<source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
15
15
</field >
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Disallow: /*SID=
68
68
</static >
69
69
<dev >
70
70
<js >
71
- <move_inline_to_bottom >0</move_inline_to_bottom >
71
+ <move_script_to_bottom >0</move_script_to_bottom >
72
72
</js >
73
73
</dev >
74
74
</dev >
You can’t perform that action at this time.
0 commit comments