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

STRF-4613 Defer loading addthis widget js script #1395

Closed
wants to merge 1 commit into from

Conversation

junedkazi
Copy link
Contributor

What?

Defer loading addthis widget js script

Tickets / Documentation

https://jira.bigcommerce.com/browse/STRF-4613

Screenshots (if appropriate)

screen shot 2018-12-04 at 10 30 17 pm

@bigcommerce/storefront-team

@bigbot
Copy link

bigbot commented Dec 5, 2018

Autotagging @bigcommerce/storefront-team @davidchin

@@ -61,7 +61,7 @@
{{/each}}
</ul>
<script type="text/javascript"
src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4e94ed470ee51e32"></script>
src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4e94ed470ee51e32" defer></script>
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it's this simple, because the script just below depends on this script loading first.

@mattolson
Copy link
Contributor

Closing in favor of #1406

@mattolson mattolson closed this Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants