mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Fix for adding playlists not working
This commit is contained in:
		| @@ -205,7 +205,7 @@ function addPlaylist(arr, guid, offline, socket) { | |||||||
|                     var now_playing = false; |                     var now_playing = false; | ||||||
|                     if(np.length == 0) now_playing = true; |                     if(np.length == 0) now_playing = true; | ||||||
|                     db.collection(channel + "_settings").find({id: "config"}, function(e, conf) { |                     db.collection(channel + "_settings").find({id: "config"}, function(e, conf) { | ||||||
|                         if(arr.length == 0 || arr.songs.length) { |                         if(arr.length == 0 || arr.songs.length == 0) { | ||||||
|                             socket.emit("toast", "Empty list.."); |                             socket.emit("toast", "Empty list.."); | ||||||
|                             return; |                             return; | ||||||
|                         } |                         } | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ | |||||||
|                         Loading... |                         Loading... | ||||||
|                     </li> |                     </li> | ||||||
|                     <li class="search-container hide" id="search-wrapper"> |                     <li class="search-container hide" id="search-wrapper"> | ||||||
|                         <input id="search" class="search_input white-text" type="text" title="Search for songs..." placeholder="Find song on YouTube or SoundCloud..." onsubmit="null;" autocomplete="off" /> |                         <input id="search" class="search_input white-text" type="text" title="Search for songs..." placeholder="Search.." onsubmit="null;" autocomplete="off" /> | ||||||
|                     </li> |                     </li> | ||||||
|                 </ul> |                 </ul> | ||||||
|                 <ul class="right control-list noselect"> |                 <ul class="right control-list noselect"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user