فهرست منبع

song(s) typo fix

AkiraLaine 9 سال پیش
والد
کامیت
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;
                 }