From 45c37db9af7da9886e23294c7e79b76b410f5748 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 20 Feb 2012 19:36:16 +0530 Subject: [PATCH] ups, checking for wrong class --- chaloBEST/static/js/editstops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaloBEST/static/js/editstops.js b/chaloBEST/static/js/editstops.js index 93ac9c8..0049235 100644 --- a/chaloBEST/static/js/editstops.js +++ b/chaloBEST/static/js/editstops.js @@ -34,7 +34,7 @@ $(function() { $('.list').click(function(e) { var name = $(this).attr("id").replace("List", ""); var $target = $(e.target); - if (!$target.hasClass('list')) { + if (!$target.hasClass('listItem')) { return; } if ($target.data("loading")) {