Steveo1485/pokedex — pull request #49 by Steveo1485 (2014-01-09 03:38:42+00:00)
Title: Modal on click

Started working on the modal. Take a look and see what you think. Right now it's pretty basic. Clicking on a Pokemon image brings it up and then clicking on close will close it - but I think it would be nice to add a little close icon in the future. It only displays the Pokemon name right now too. Also won't work on new Pokemon added after you load the page. But I assume we'll just have to add an event listener on the Get New Pokemon ajax success. But now that we're starting to have a few event listeners, may be a good time to refactor the Javascript a bit.