2
0
AkiraLaine 9 жил өмнө
parent
commit
006f53f986
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      app/app.js

+ 1 - 1
app/app.js

@@ -918,7 +918,7 @@ if (Meteor.isServer) {
 
         function skipSong() {
             songs = Playlists.find({type: type}).fetch()[0].songs;
-            song.forEach(function(song, index) {
+            songs.forEach(function(song, index) {
                 if (song.title === currentTitle) {
                     currentSong = index;
                 }