mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 05:43:01 +00:00 
			
		
		
		
	add mpdscribble support for love button
This commit is contained in:
		| @@ -1085,6 +1085,10 @@ function clickLove() { | |||||||
|         'MPD_API_SEND_MESSAGE,mpdas,' + |         'MPD_API_SEND_MESSAGE,mpdas,' + | ||||||
|             ($('#btnlove').hasClass('active') ? 'unlove' : 'love') |             ($('#btnlove').hasClass('active') ? 'unlove' : 'love') | ||||||
|     ); |     ); | ||||||
|  |     socket.send( | ||||||
|  |         'MPD_API_SEND_MESSAGE,mpdscribble,' + | ||||||
|  |             ($('#btnlove').hasClass('active') ? 'unlove' : 'love') | ||||||
|  |     ); | ||||||
|     if ($('#btnlove').hasClass('active')) $('#btnlove').removeClass('active'); |     if ($('#btnlove').hasClass('active')) $('#btnlove').removeClass('active'); | ||||||
|     else $('#btnlove').addClass('active'); |     else $('#btnlove').addClass('active'); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 SuperBFG7
					SuperBFG7