mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 05:43:01 +00:00 
			
		
		
		
	fixed password remove
This commit is contained in:
		| @@ -197,7 +197,10 @@ | ||||
|                 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> | ||||
|   | ||||
| @@ -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; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andrew Karpow
					Andrew Karpow