Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
fix for directory reading
  • Loading branch information
XNBlank committed Nov 3, 2015
1 parent 7aab591 commit 4938cb1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/music.js
Expand Up @@ -53,7 +53,7 @@

//console.log(getFiles(homeDir + "\\Music"));

var dirList = getFiles(homeDir + "\\Music");
var dirList = getFiles(homeDir + "/Music");
var output = "";
var _output = [];
var _outputDir = [];
Expand Down Expand Up @@ -269,6 +269,11 @@
if(playPercent >= 489){
music.currentTime = 0;
}
} else {
if(playPercent >= 490){
document.getElementById("stopButton").style.color = "#16a085";
document.getElementById("playButton").style.color = "";
}
}

if (music.currentTime == duration) {
Expand Down

0 comments on commit 4938cb1

Please sign in to comment.