Include Twitter script after Twitter button

The Twitter button would frequently fail to render properly because
the script which dynamically creates the proper widget would load
before the DOM element which serves as the placeholder for the widget
hadn't yet been created.  This change ensures that the widget script
is always loaded after the placeholder has been created.
This commit is contained in:
Andrew Miner
2016-06-02 11:50:58 -06:00
parent d102834408
commit d0bca0d2ac
4 changed files with 3 additions and 25 deletions
@@ -16,3 +16,5 @@
data-show-count="false"
data-size="large"
) Follow @Crafting_Guide
script(id="twitter-wjs" src="//platform.twitter.com/widgets.js")