TypeError: twttr is undefined @ http://platform.twitter.com/widgets.js:10


#1

On FireFox 23, I often see this error:

[16:11:05.457] TypeError: twttr is undefined @ http://platform.twitter.com/widgets.js:10

I’m loading it with the asynch code…

window.twttr = (function (d,s,id) { var t, js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.src="//platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); }(document, "script", "twitter-wjs")); ```

Any ideas why this is happening sometimes? Seems to work fine in Chrome.