Made the album search 10x faster. We are now loading the images in a seperate call. #32

This commit is contained in:
tidusjar 2016-04-04 11:35:40 +01:00
commit 9211f3db4f
3 changed files with 12 additions and 4 deletions

View file

@ -159,9 +159,9 @@
<!-- Music Results template -->
<script id="music-template" type="text/x-handlebars-template">
<div class="row">
<div class="col-sm-2">
<div id="{{id}}imageDiv" class="col-sm-2">
{{#if coverArtUrl}}
<img class="img-responsive" src="{{coverArtUrl}}" width="150" alt="poster">
<img id="{{id}}cover" class="img-responsive" src="{{coverArtUrl}}" width="150" alt="poster">
{{/if}}
</div>
<div class="col-sm-5 ">