Fix selected city style
parent
6486e87d54
commit
e2b8fef845
|
@ -7,7 +7,7 @@
|
||||||
<div class="ng-scope" id="app" ng-app="Weather" ng-controller="WeatherController">
|
<div class="ng-scope" id="app" ng-app="Weather" ng-controller="WeatherController">
|
||||||
<div id="city-list-left">
|
<div id="city-list-left">
|
||||||
<ul class="city-list">
|
<ul class="city-list">
|
||||||
<li class=city-list-item" ng-repeat="city in cities" class="{{ city.id == selectedCityId ? 'selected' : ''}}">
|
<li ng-repeat="city in cities" class="city-list-item {{ city.id == selectedCityId ? 'selected' : ''}}">
|
||||||
<a href="#" ng-click="loadCity(city);">{{ city.name }}</a>
|
<a href="#" ng-click="loadCity(city);">{{ city.name }}</a>
|
||||||
<div class="icon-delete svn delete action" ng-click="deleteCity(city);"></div>
|
<div class="icon-delete svn delete action" ng-click="deleteCity(city);"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue