chromakode / xkcdfools

xkcd CLI + jQuery terminal implementation
GNU General Public License v2.0
566 stars 116 forks source link

comic 404 bugs #22

Open LaPingvino opened 14 years ago

LaPingvino commented 14 years ago

display 404 gets the prompt freezing

display 403 and then next same story

proposed fix: put up a short message saying it doesn't exist (replacing with 405 probably breaks prev and replacing with 403 probably breaks next)

Jacky720 commented 6 years ago

I made a pull request to fix this. It's a tad ugly (has changes in xkcdDisplay() and in next and prev) but I think it works.