Skip to content

Commit

Permalink
fix comment and function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Smith committed Sep 23, 2016
1 parent fc8adb6 commit 176dc00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/videojs.ads.js
Expand Up @@ -442,8 +442,8 @@ var

// "vjs-has-started" should be present at the end of a video. In this case we need
// to re-add it manually.
// Not sure why this happens on ended, I've never seen a case where that is needed.
player.on(['pause', 'ended'], function redispatch() {
// Not sure why this happens on pause, I've never seen a case where that is needed.
player.on(['pause', 'ended'], function() {
if (player.ads.state === 'content-resuming' &&
player.ads.snapshot &&
player.ads.snapshot.ended) {
Expand Down

0 comments on commit 176dc00

Please sign in to comment.