@@ -1004,6 +1004,11 @@ Template.playlist.events({
$(el).parent(".pl-item").show();
}
})
+ $(".pl-item #artist").each(function(i, el){
+ if($(el).text().toLowerCase().indexOf(input) !== -1){
+ $(el).parent(".pl-item").show();
+ }
+ })
@@ -6,7 +6,7 @@
{{#if current}}<i class="fa fa-arrow-right"></i>{{/if}}
<p style="float:right;padding-right:10px;font-weight:900">{{formatTime duration}}</p>
<strong>{{title}}</strong>
- <p>{{artist}}</p>
+ <p id="artist">{{artist}}</p>
</li>
{{/each}}
</ul>