1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-06-30 08:33:14 +00:00

Fixed tag selection in search

This commit is contained in:
jcorporation 2018-06-14 21:04:25 +01:00
parent 6fe4e997c2
commit 43d77690ae

View File

@ -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());
}
});
}