Skip to content

Commit

Permalink
Fixed the progress bar navigation not working when a polyfill is bein…
Browse files Browse the repository at this point in the history
…g used.
  • Loading branch information
LaurentGoderre committed Aug 20, 2012
1 parent 7b886af commit ea8c228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/js/pe-ap-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/workers/multimedia.js
Expand Up @@ -134,7 +134,7 @@
this.setMuted(!this.getMuted());
}

if ($target.is('progress')) {
if ($target.is('progress') || $target.hasClass('progress-frame') || $target.hasClass('progress-bar')) {
p = (e.pageX - $target.offset().left) / $target.width();
this.setCurrentTime(this.getDuration() * p);
}
Expand Down

0 comments on commit ea8c228

Please sign in to comment.