Explorar o código

song(s) typo fix

AkiraLaine %!s(int64=9) %!d(string=hai) anos
pai
achega
006f53f986
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                 }