- fixed spelling mistake on variable 'songElapsedTime' in dashboard.js
This commit is contained in:
parent
164c158c80
commit
773693f636
|
@ -76,7 +76,7 @@ function updateProgressBarValue(){
|
||||||
var scheduled_play_line_to_switch = scheduled_play_div.parent().find(".line-to-switch");
|
var scheduled_play_line_to_switch = scheduled_play_div.parent().find(".line-to-switch");
|
||||||
|
|
||||||
if (currentSong !== null){
|
if (currentSong !== null){
|
||||||
var songElpasedTime = 0;
|
var songElapsedTime = 0;
|
||||||
songPercentDone = (estimatedSchedulePosixTime - currentSong.songStartPosixTime)/currentSong.songLengthMs*100;
|
songPercentDone = (estimatedSchedulePosixTime - currentSong.songStartPosixTime)/currentSong.songLengthMs*100;
|
||||||
songElapsedTime = estimatedSchedulePosixTime - currentSong.songStartPosixTime;
|
songElapsedTime = estimatedSchedulePosixTime - currentSong.songStartPosixTime;
|
||||||
if (songPercentDone < 0 || songPercentDone > 100){
|
if (songPercentDone < 0 || songPercentDone > 100){
|
||||||
|
|
Loading…
Reference in New Issue