From 569e81d5b19f38dc01d55840d86abc8157447b3b Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 20 Feb 2012 20:08:20 +0530 Subject: [PATCH] css for selected list item --- chaloBEST/static/css/editstops.css | 3 +++ chaloBEST/static/js/editstops.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/chaloBEST/static/css/editstops.css b/chaloBEST/static/css/editstops.css index c93741e..c978eb3 100644 --- a/chaloBEST/static/css/editstops.css +++ b/chaloBEST/static/css/editstops.css @@ -40,6 +40,9 @@ html, body { border: 1px solid #000; } +.selectedListItem { + color: blue; +} .clear { clear: both; } diff --git a/chaloBEST/static/js/editstops.js b/chaloBEST/static/js/editstops.js index 2c2a77a..960f501 100644 --- a/chaloBEST/static/js/editstops.js +++ b/chaloBEST/static/js/editstops.js @@ -40,6 +40,8 @@ $(function() { if ($target.data("loading")) { return; } + $('.selectedListItem').removeClass("selectedListItem"); + $target.addClass("selectedListItem"); if ($target.data("hasList")) { $target.find(".stopsList").toggle(); return;