Skip to content

Commit 3b67a7e

Browse files
author
dularion
committed
fix copy-paste-mistake regarding onVideoClick
1 parent e311b1d commit 3b67a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/js/player/services/player.service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ angular.module('streama.player').factory('playerService',
2121
destroyPlayer: destroyPlayer,
2222
handleSocketEvent: handleSocketEvent,
2323
onNext: onNext,
24-
onVideoClick: onNext
24+
onVideoClick: onVideoClick
2525
};
2626

2727
/**
@@ -311,7 +311,7 @@ angular.module('streama.player').factory('playerService',
311311
/**
312312
*
313313
*/
314-
function onNext() {
314+
function onVideoClick() {
315315
if($rootScope.currentUser.pauseVideoOnClick){
316316
$rootScope.$broadcast('triggerVideoToggle');
317317
}

0 commit comments

Comments
 (0)