Re:EA “Gives Away” 1000s Of Free Games Due To No Server-Side...
by esrauch on Sunday October 14, 2012 @03:07PM
(#4652265)
Sorry to comment off of the content of the post, but when I load the page the Like button flickers shown/not shown a bunch of times causing annoying visual jitter. I'm on Chrome 22 if that is relevant.
[ Parent
| on HN ]
Re:EA “Gives Away” 1000s Of Free Games Due To No Server-Side...
by minimaxir on Sunday October 14, 2012 @04:05PM
(#4652445)
I figured out the error (I was wrong, it was indeed my code) and fixed it. No more flickering. :)
Re:EA “Gives Away” 1000s Of Free Games Due To No Server-Side...
by spicyj on Sunday October 14, 2012 @04:08PM
(#4652465)
Out of curiosity, what was the bug?
Re:EA “Gives Away” 1000s Of Free Games Due To No Server-Side...
by minimaxir on Sunday October 14, 2012 @04:30PM
(#4652550)
On my main page, I use AJAX to load the Share buttons when the user mouses-over the post itself, so that they aren't loaded all at once. Specifically, it loads the HTML, then runs it through each social service's HTML parser to render the buttons.
On individual blog posts, the buttons did not load because the DOM element is not present for that template. However, the parser still ran on mouse-over, which is what caused the flickering. So I just disabled the parser when the user is on an individual blog post.
Re:EA “Gives Away” 1000s Of Free Games Due To No Server-Side...
by spicyj on Sunday October 14, 2012 @04:36PM
(#4652564)
Gotcha. :)
Re:EA “Gives Away” 1000s Of Free Games Due To No Server-Side...
by minimaxir on Sunday October 14, 2012 @03:16PM
(#4652294)
From what I can tell, that's on Facebook's end, as all the Facebook plugins seems to flicker occasionally as well. I'll look into it, although there's nothing unusual with my front-end code that should be causing unusual behavior...maybe CloudFlare caching issues?
Thanks for letting me know btw. :)