Skip to content

Commit

Permalink
fix: dont throttle duration change updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Sep 28, 2017
1 parent 335bcde commit 802bee0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/control-bar/time-controls/duration-display.js
Expand Up @@ -28,9 +28,8 @@ class DurationDisplay extends Component {

this.throttledUpdateContent = throttle(bind(this, this.updateContent), 25);

this.on(player, 'durationchange', this.updateContent);
this.on(player, [
'durationchange',

// Also listen for timeupdate and loadedmetadata because removing those
// listeners could have broken dependent applications/libraries. These
// can likely be removed for 7.0.
Expand Down

0 comments on commit 802bee0

Please sign in to comment.