1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-24 10:27:46 +00:00

fixed password remove

This commit is contained in:
Andrew Karpow
2014-03-08 20:33:22 +01:00
parent b75dadf7a9
commit 6bf4379eb8
2 changed files with 11 additions and 1 deletions

View File

@@ -569,6 +569,13 @@ function confirmSettings() {
$('#settings').modal('hide');
}
$('#mpd_password_set > button').on('click', function (e) {
socket.send('MPD_API_SET_MPDPASS,');
$('#mpd_pw').val("");
$('#mpd_pw_con').val("");
$('#mpd_password_set').addClass('hide');
})
function notificationsSupported() {
return "webkitNotifications" in window;
}