rigoneri/syte — pull request #179 by gjacobrobertson (2012-12-18 22:06:19+00:00)
Title: Always setup sidebar links

Whenever the index was requested, the setupLinks() function sets up all the sidebar links for integration would only be called upon a successful tumblr API request. If anything goes wrong during that API request or if the tumblr API is temporarily unavailable, the remaining sidebar links would function only as anchor tags, and not open the modal integration dialogs, even though they don't really depend on tumblr. This pull request fixes that, calling setupLinks() as soon as the index is loaded, and removes the call from the tumblr success callback, where it is no longer necessary.