mirror of
https://github.com/SuperBFG7/ympd
synced 2025-03-04 10:38:18 +00:00
Fixed tag selection in search
This commit is contained in:
parent
6fe4e997c2
commit
43d77690ae
@ -195,9 +195,9 @@ app.route=function() {
|
||||
}
|
||||
$('#searchstr2').val(app.current.search);
|
||||
$('#searchtags2 > button').each(function() {
|
||||
if ($(this).text == app.current.filter) {
|
||||
if ($(this).text() == app.current.filter) {
|
||||
$(this).removeClass('btn-secondary').addClass('btn-success');
|
||||
$('#searchtags2desc').text($(this).text);
|
||||
$('#searchtags2desc').text($(this).text());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user