data-trigger="manual" />
</div>
<div class="form-group col-md-12">
- <div id="mpd_password_set" class="hide alert alert-info">MPD Password is set</div>
+ <div id="mpd_password_set" class="hide alert alert-info">
+ <button type="button" class="close" aria-hidden="true">×</button>
+ MPD Password is set
+ </div>
</div>
</div>
$('#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;
}