removed two obsolete lines

This commit is contained in:
SuperBFG7 2021-03-09 13:03:04 +01:00
parent efa4d4443f
commit bd95651d61
1 changed files with 0 additions and 2 deletions

View File

@ -80,11 +80,9 @@ var app = $.sammy(function() {
if (browsepath) {
$('#filter').append('<button id="add-all-songs" class="btn btn-primary pull-right">Add all</button>');
var add_all_songs = $('#add-all-songs');
add_all_songs.off(); // remove previous binds
add_all_songs.on('click', function() {
socket.send('MPD_API_ADD_TRACK,'+browsepath);
});
add_all_songs.show();
}
$('#panel-heading').text("Browse database: "+browsepath);