mirror of https://github.com/SuperBFG7/ympd
fix filtering of songs
This commit is contained in:
parent
9bf518ed07
commit
f89c49e09c
|
@ -1243,7 +1243,7 @@ function set_filter (c) {
|
||||||
$.each($('#salamisandwich > tbody > tr'), function(i, line) {
|
$.each($('#salamisandwich > tbody > tr'), function(i, line) {
|
||||||
var first = basename($(line).attr('uri'))[0];
|
var first = basename($(line).attr('uri'))[0];
|
||||||
if ( $(line).hasClass('song') ) {
|
if ( $(line).hasClass('song') ) {
|
||||||
first = $(line).children().eq(1).text()[0];
|
first = $(line).children().eq(3).text()[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter === "num") {
|
if (filter === "num") {
|
||||||
|
|
Loading…
Reference in New Issue