| 
														
															@@ -483,7 +483,7 @@ if (Meteor.isClient) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 if (index + 2 < songs.length) { 
														 | 
														
														 | 
														
															                                 if (index + 2 < songs.length) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     console.log("OOO 1"); 
														 | 
														
														 | 
														
															                                     console.log("OOO 1"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     afterSong = songs[index + 2]; 
														 | 
														
														 | 
														
															                                     afterSong = songs[index + 2]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                } else if (songs.length === index + 1) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                } else if (songs.length === index + 1 && songs.length > 1 ) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     afterSong = songs[1]; 
														 | 
														
														 | 
														
															                                     afterSong = songs[1]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 } else { 
														 | 
														
														 | 
														
															                                 } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     afterSong = songs[0]; 
														 | 
														
														 | 
														
															                                     afterSong = songs[0]; 
														 |