codeforamerica/MuniciPal — pull request #9 by ardouglass (2014-09-17 23:48:41+00:00)
Title: Fix facebook box

**What it solves:**
Visually, this solves the problem of the Facebook widget sometimes failing to display. It always loads, it's just sometimes set by Facebook at 0px height and width, as well as hiding the overflow. This is a "good enough" fix IMO with other stuff to do on such a short deadline.

**What it doesn't solve:**
There is a warning in the console that states `fb:like_box failed to resize in 45s ` once for each feed. Some sleuthing in various places makes it seem like this entire issue is caused by the widget being loaded inside an element with the style `display: hidden`.

**Possible full fix to explore:**
If the Facebook widget is not rendered until the click that displays the tab it is contained within, I believe it would work and also stop throwing the warning. This would be similar to how the Disqus threads are being loaded on a click action.