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 7, 2015
1 parent b1c98ed commit 87241ea
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 87241ea

Please sign in to comment.