css for selected list item
This commit is contained in:
parent
ed256ad6ed
commit
569e81d5b1
|
@ -40,6 +40,9 @@ html, body {
|
|||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
.selectedListItem {
|
||||
color: blue;
|
||||
}
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user