瀏覽代碼

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;
                 }