css for selected list item
This commit is contained in:
parent
ed256ad6ed
commit
569e81d5b1
|
@ -40,6 +40,9 @@ html, body {
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selectedListItem {
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
.clear {
|
.clear {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,8 @@ $(function() {
|
||||||
if ($target.data("loading")) {
|
if ($target.data("loading")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$('.selectedListItem').removeClass("selectedListItem");
|
||||||
|
$target.addClass("selectedListItem");
|
||||||
if ($target.data("hasList")) {
|
if ($target.data("hasList")) {
|
||||||
$target.find(".stopsList").toggle();
|
$target.find(".stopsList").toggle();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user