mirror of
https://github.com/SuperBFG7/ympd
synced 2025-06-28 08:03:12 +00:00
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…
x
Reference in New Issue
Block a user