From: SuperBFG7 Date: Tue, 9 Mar 2021 12:03:04 +0000 (+0100) Subject: removed two obsolete lines X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=bd95651d61dc6d81f6c1ca8fd78f79d1ce378426;p=ympd.git removed two obsolete lines --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 7924061..984c3f8 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -80,11 +80,9 @@ var app = $.sammy(function() { 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);