Opened 10 years ago
Closed 10 years ago
#34444 closed defect (bug) (fixed)
Move print_embed_scripts to run on the embed_footer action
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | 4.4 |
| Component: | Embeds | Keywords: | good-first-bug has-patch |
| Focuses: | javascript | Cc: |
Description
print_embed_scripts currently runs on the embed_head action and prints the inline JavaScript in the HTML header of the embed template.
As the JavaScript runs on the DOMContentLoaded event, it can be moved the the HTML footer and run on the embed_footer action.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Moved print_embed_scripts to run on the embed_footer action.