Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Put the JS embed back into script_files #92

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

davidfischer
Copy link
Contributor

As the inline comment suggests, there are issues with putting the JS embed into the extrahead. A theme that puts scripts at the end of the body (none of the major themes do this) may not have loaded jquery before this script is executed and the script will error.

As the inline comment suggests,
there are issues with putting the JS embed into the extrahead.
A theme that puts scripts at the end of the body
(none of the major themes do this) may not have loaded jquery
before this script is executed and the script will error.
@davidfischer davidfischer requested a review from a team July 23, 2020 05:30
Copy link
Contributor

@agjohnson agjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct to me. I believe it should solve the user error that I saw with the 2.0.1 release.

@agjohnson agjohnson merged commit d3ff86e into master Jul 23, 2020
@agjohnson agjohnson deleted the davidfischer/js-embed-not-extrahead branch July 23, 2020 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants