ups, checking for wrong class

This commit is contained in:
Sanj 2012-02-20 19:36:16 +05:30
parent 2b43cc90b7
commit 45c37db9af

View File

@ -34,7 +34,7 @@ $(function() {
$('.list').click(function(e) { $('.list').click(function(e) {
var name = $(this).attr("id").replace("List", ""); var name = $(this).attr("id").replace("List", "");
var $target = $(e.target); var $target = $(e.target);
if (!$target.hasClass('list')) { if (!$target.hasClass('listItem')) {
return; return;
} }
if ($target.data("loading")) { if ($target.data("loading")) {