Преглед изворни кода

Added default error image to dashboard room cards.

KrisVos130 пре 9 година
родитељ
комит
3b8bba5867
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/client/templates/home.html

+ 1 - 1
app/client/templates/home.html

@@ -7,7 +7,7 @@
                     <div class="col s12 m5 l2">
                         <div class="card">
                             <div class="card-image waves-effect waves-block waves-light">
-                                <img src={{currentSong.song.img}}>
+                                <img onerror="this.src='http://static.boredpanda.com/blog/wp-content/uploads/2014/04/amazing-fox-photos-182.jpg'" src={{currentSong.song.img}}>
                                 <figcaption>
                                     <h5>{{currentSong.song.title}}</h5>
                                     <h5>{{currentSong.song.artist}}</h5>