projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa4d44
)
removed two obsolete lines
author
SuperBFG7
<daniel@despite.ch>
Tue, 9 Mar 2021 12:03:04 +0000
(13:03 +0100)
committer
SuperBFG7
<daniel@despite.ch>
Tue, 9 Mar 2021 12:03:04 +0000
(13:03 +0100)
htdocs/js/mpd.js
patch
|
blob
|
history
diff --git
a/htdocs/js/mpd.js
b/htdocs/js/mpd.js
index
7924061
..
984c3f8
100644
(file)
--- a/
htdocs/js/mpd.js
+++ b/
htdocs/js/mpd.js
@@
-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);