소스 검색

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>