From 3b67a7ebf4b3f0a63fd254f461b53bc1e93d185b Mon Sep 17 00:00:00 2001 From: dularion Date: Sun, 15 Oct 2017 18:47:14 +0200 Subject: [PATCH] fix copy-paste-mistake regarding onVideoClick --- www/js/player/services/player.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/player/services/player.service.js b/www/js/player/services/player.service.js index cf36ddf..08487d5 100644 --- a/www/js/player/services/player.service.js +++ b/www/js/player/services/player.service.js @@ -21,7 +21,7 @@ angular.module('streama.player').factory('playerService', destroyPlayer: destroyPlayer, handleSocketEvent: handleSocketEvent, onNext: onNext, - onVideoClick: onNext + onVideoClick: onVideoClick }; /** @@ -311,7 +311,7 @@ angular.module('streama.player').factory('playerService', /** * */ - function onNext() { + function onVideoClick() { if($rootScope.currentUser.pauseVideoOnClick){ $rootScope.$broadcast('triggerVideoToggle'); }