arecker / Corgi-Break

I think it's time for a Corgi Break.
GNU General Public License v2.0
2 stars 2 forks source link

Display error when Reddit is down #12

Closed arecker closed 10 years ago

arecker commented 10 years ago

Currently, the app doesn't open until the JSON request from Reddit. This causes the app to delay opening if Reddit is down.

It would be great if the app opened, displayed the spinner while it was getting the JSON, and displayed a "Reddit is down" image instead.

*Note: this can probably be simulated by putting something bogus in the url line of the $.ajax method.