Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load scripts and styles dynamically if they're not available #492

Open
gregpriday opened this issue Jun 13, 2017 · 0 comments
Open

Load scripts and styles dynamically if they're not available #492

gregpriday opened this issue Jun 13, 2017 · 0 comments

Comments

@gregpriday
Copy link
Member

When SiteOrigin widgets are used outside places where we would have enqueued their scripts and styles, their forms just show up as a message telling the user to reload the page in order to load scripts and styles.

We could probably fix this by rather dynamically loading the scripts and styles using jQuery. This would eliminate the need for people to reload the page they're working on after they first install Widgets Bundle, and it should get our widgets working in a few other plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants