소스 검색

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