- fixed spelling mistake on variable 'songElapsedTime' in dashboard.js

This commit is contained in:
denise 2012-05-22 17:47:46 -04:00
parent 164c158c80
commit 773693f636
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ function updateProgressBarValue(){
var scheduled_play_line_to_switch = scheduled_play_div.parent().find(".line-to-switch");
if (currentSong !== null){
var songElpasedTime = 0;
var songElapsedTime = 0;
songPercentDone = (estimatedSchedulePosixTime - currentSong.songStartPosixTime)/currentSong.songLengthMs*100;
songElapsedTime = estimatedSchedulePosixTime - currentSong.songStartPosixTime;
if (songPercentDone < 0 || songPercentDone > 100){