diff --git a/htdocs/index.html b/htdocs/index.html index ac05928..4c4fc9c 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -118,7 +118,6 @@
-
diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 319805f..984c3f8 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -78,12 +78,11 @@ var app = $.sammy(function() { socket.send('MPD_API_GET_BROWSE,'+pagination+','+(browsepath ? browsepath : "/")); // Don't add all songs from root if (browsepath) { + $('#filter').append(''); 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);