Permalink
Browse files

Edition d'un ID d'album sur plus d'un digit

  • Loading branch information...
1 parent f409665 commit 11fd2536d9b082361e4df7965c4ebbb7ae428690 @xflash xflash committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/javascripts/albumtable.js
@@ -58,7 +58,7 @@
var t = $(this);
var album = t.closest('tr').attr("id");
- var id = album.match(/album-(\d)/)[1];
+ var id = album.match(/album-(\d+)/)[1];
displayCover(id, t);
});

0 comments on commit 11fd253

Please sign in to comment.