Skip to content

Commit

Permalink
Replace src with ng-src in image tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwang committed Apr 14, 2014
1 parent 5349730 commit 8de56be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beats.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@
<ul class="albumgrid-area" ng-show="layout == 'albumgrid'">
<div ng-repeat="album in albumlist track by $index">
<div class="album-art" ng-click="searchSongs('album:' + album.name)">
<img class="art" src="{{['http://4.bp.blogspot.com/-3n7yrHpYsfw/TZtqsQMtHwI/AAAAAAAAG6o/RY4-sDUGFuA/s1600/album-light-up-night.jpg', album.albumart][(album.albumart == undefined) ? 0 : 1]}}"/>
<img class="art" ng-src="{{['http://4.bp.blogspot.com/-3n7yrHpYsfw/TZtqsQMtHwI/AAAAAAAAG6o/RY4-sDUGFuA/s1600/album-light-up-night.jpg', album.albumart][(album.albumart == undefined) ? 0 : 1]}}"/>
<p class="album-name" title="{{ [album.name,'No Album'][(album.name == null) ? 1 : 0] }}">{{[album.name,"No Album"][(album.name == null) ? 1 : 0] }}</p>
</div>
</div>
</ul>
<div class="queue-area">
<div class="album-art">
<img src="http://4.bp.blogspot.com/-3n7yrHpYsfw/TZtqsQMtHwI/AAAAAAAAG6o/RY4-sDUGFuA/s1600/album-light-up-night.jpg" />
<img ng-src="http://4.bp.blogspot.com/-3n7yrHpYsfw/TZtqsQMtHwI/AAAAAAAAG6o/RY4-sDUGFuA/s1600/album-light-up-night.jpg" />
</div>
<ul class="song-queue">
<li ng-repeat="song in queue">
Expand Down

0 comments on commit 8de56be

Please sign in to comment.