Permalink
Browse files

Merge branch 'master' of git://github.com/jwheare/www.playdar.org

  • Loading branch information...
2 parents 3898e29 + 6e3ae2c commit c6c3d069e7e4be0b22f5139cd6bfb0a92cb09246 @jwheare jwheare committed Jul 26, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 static/playdar.js
View
@@ -980,6 +980,9 @@ Playdar.StatusBar.prototype = {
}
var portion_played = sound.position / duration;
this.playhead.style.width = Math.round(portion_played * this.progress_bar_width) + "px";
+ // Call the loading handler too because the sound may have fully loaded while
+ // we were playing a different track
+ this.loading_handler(sound);
},
loading_handler: function (sound) {
// Update the loading progress bar

0 comments on commit c6c3d06

Please sign in to comment.