silly - route, not routes

This commit is contained in:
Sanj 2012-02-20 19:37:18 +05:30
parent 45c37db9af
commit c1aedefbc7

View File

@ -32,7 +32,7 @@ $(function() {
}); });
$('.list').click(function(e) { $('.list').click(function(e) {
var name = $(this).attr("id").replace("List", ""); var name = $(this).attr("id").replace("sList", ""); //FIXME: stick name in a data attr or so?
var $target = $(e.target); var $target = $(e.target);
if (!$target.hasClass('listItem')) { if (!$target.hasClass('listItem')) {
return; return;