Skip to content

Commit

Permalink
Fix pokemon url
Browse files Browse the repository at this point in the history
  • Loading branch information
Llorenç Muntaner authored and Llorenç Muntaner committed Jul 13, 2016
1 parent 6faea2c commit 151411c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poke_memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(function () {
$('.cell').on('click', function (event) {
var cell = $(event.currentTarget);
var id = cell.data('row') + "" + cell.data('col');
var url = 'http://pokeapi.co/api/v2/pokemon/' + id;
var url = 'http://pokeapi.co/api/v2/pokemon/' + id + '/';
var interval = setInterval(function () {
cell.toggleClass('active');
}, 300)
Expand Down

0 comments on commit 151411c

Please sign in to comment.