mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #4234 from michalkleiner/patch-2
DOCS Fixed code example for Requirements::set_write_js_to_body call
This commit is contained in:
commit
e8d652b1aa
@ -186,7 +186,7 @@ If the Javascript files are preferred to be placed in the `<head>` tag rather th
|
||||
`Requirements.write_js_to_body` should be set to false.
|
||||
|
||||
:::php
|
||||
Requirements::set_force_js_to_bottom(true);
|
||||
Requirements::set_write_js_to_body(false);
|
||||
|
||||
|
||||
## API Documentation
|
||||
|
Loading…
x
Reference in New Issue
Block a user