Skip to content

Commit

Permalink
Restore 'redispatch' function name
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroneill committed Dec 8, 2015
1 parent 8a079a0 commit 513966f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/videojs.ads.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ var
});
};

player.on(videoEvents, function(event) {
player.on(videoEvents, function redispatch(event) {
if (player.ads.state === 'ad-playback') {
triggerEvent('ad', event);
} else if (player.ads.state === 'content-playback' && event.type === 'ended') {
Expand Down

0 comments on commit 513966f

Please sign in to comment.