Skip to content

Commit

Permalink
fix copy-paste-mistake regarding onVideoClick
Browse files Browse the repository at this point in the history
  • Loading branch information
dularion committed Oct 15, 2017
1 parent e311b1d commit 3b67a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/js/player/services/player.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ angular.module('streama.player').factory('playerService',
destroyPlayer: destroyPlayer,
handleSocketEvent: handleSocketEvent,
onNext: onNext,
onVideoClick: onNext
onVideoClick: onVideoClick
};

/**
Expand Down Expand Up @@ -311,7 +311,7 @@ angular.module('streama.player').factory('playerService',
/**
*
*/
function onNext() {
function onVideoClick() {
if($rootScope.currentUser.pauseVideoOnClick){
$rootScope.$broadcast('triggerVideoToggle');
}
Expand Down

0 comments on commit 3b67a7e

Please sign in to comment.