4 ms·
If this is failing for you, make sure you haven't blocked twitter using Ghostery or the like, as this causes the script to error out. Uncaught ReferenceErr
by Cogito 14y ago
If this is failing for you, make sure you haven't blocked twitter using Ghostery or the like, as this causes the script to error out.
Uncaught ReferenceError: twttr is not defined app.js:196
setupWinner app.js:196
Maybe the script can be made a bit more robust in this case?
- jessepollak 14y agoGood idea! Added a check to see if twttr is defined, if it isn't I just don't add the share through twitter button. Thanks!
- Cogito 14y agoNo worries :) I should have opened a pull request for you! Awesome to see the quick turn around on your repo, though I haven't seen it deployed yet. It looks like you are using Heroku to deploy, have you not deployed yet or do I need to refresh my client-side resources?
- jessepollak 14y agoMade a little mistake, sorry, should be deployed in 10 seconds.
- Cogito 14y agoHa, no need to apologise! The fix works great.