mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
more security regarding suggested songs
This commit is contained in:
@@ -189,9 +189,9 @@ var List = {
|
||||
i = List.getIndexOfSong(song_info.id);
|
||||
|
||||
if(i === 0)
|
||||
$("#wrapper").prepend(List.generateSong(song_info, transition, false, true));
|
||||
$("#wrapper").prepend(List.generateSong(song_info, transition, false, true, false));
|
||||
else
|
||||
$("#wrapper > div:nth-child(" + (i) + ")").after(List.generateSong(song_info, transition, false, true));
|
||||
$("#wrapper > div:nth-child(" + (i) + ")").after(List.generateSong(song_info, transition, false, true, false));
|
||||
|
||||
if(transition)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user