mirror of
https://github.com/SuperBFG7/ympd
synced 2025-03-11 14:08:20 +00:00
linting
This commit is contained in:
parent
7b5496e06c
commit
f5080c8419
@ -103,7 +103,11 @@ var app = $.sammy(function () {
|
||||
|
||||
full_path = full_path + chunk;
|
||||
$('#breadcrump').append(
|
||||
'<li><a uri="' + encodeURIComponent(full_path) + '">' + chunk + '</a></li>'
|
||||
'<li><a uri="' +
|
||||
encodeURIComponent(full_path) +
|
||||
'">' +
|
||||
chunk +
|
||||
'</a></li>'
|
||||
);
|
||||
full_path += '/';
|
||||
});
|
||||
@ -489,7 +493,9 @@ function webSocketConnect() {
|
||||
}
|
||||
$('#salamisandwich > tbody').append(
|
||||
'<tr uri="' +
|
||||
encodeURIComponent(obj.data[item].plist) +
|
||||
encodeURIComponent(
|
||||
obj.data[item].plist
|
||||
) +
|
||||
'" class="' +
|
||||
clazz +
|
||||
'">' +
|
||||
@ -667,7 +673,9 @@ function webSocketConnect() {
|
||||
case 'song':
|
||||
socket.send(
|
||||
'MPD_API_ADD_TRACK,' +
|
||||
decodeURIComponent($(this).attr('uri'))
|
||||
decodeURIComponent(
|
||||
$(this).attr('uri')
|
||||
)
|
||||
);
|
||||
$('.top-right')
|
||||
.notify({
|
||||
@ -686,7 +694,9 @@ function webSocketConnect() {
|
||||
case 'plist':
|
||||
socket.send(
|
||||
'MPD_API_ADD_PLAYLIST,' +
|
||||
decodeURIComponent($(this).attr('uri'))
|
||||
decodeURIComponent(
|
||||
$(this).attr('uri')
|
||||
)
|
||||
);
|
||||
$('.top-right')
|
||||
.notify({
|
||||
|
Loading…
x
Reference in New Issue
Block a user