Fix selected city style

master
Loic Blot 2015-07-18 08:03:58 +00:00
parent 6486e87d54
commit e2b8fef845
1 changed files with 1 additions and 1 deletions

View File

@ -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>