librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1252] Fix highlighting when the song is automatically


From: Michael Sheldon
Subject: [Librefm-commits] [1252] Fix highlighting when the song is automatically advanced in the javascript player
Date: Wed, 06 May 2009 22:47:19 +0000

Revision: 1252
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1252
Author:   elleo
Date:     2009-05-06 22:47:19 +0000 (Wed, 06 May 2009)
Log Message:
-----------
Fix highlighting when the song is automatically advanced in the javascript 
player

Modified Paths:
--------------
    trunk/nixtape/js/player.js

Modified: trunk/nixtape/js/player.js
===================================================================
--- trunk/nixtape/js/player.js  2009-05-06 22:47:16 UTC (rev 1251)
+++ trunk/nixtape/js/player.js  2009-05-06 22:47:19 UTC (rev 1252)
@@ -124,8 +124,7 @@
        if(current_song == playlist.length - 1) {
                pause();
        } else {
-               current_song++;
-               loadSong(current_song);
+               loadSong(current_song+1);
                play();
        }
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]