Skip to content

Commit

Permalink
FS-801 Show congrats splash only when touring
Browse files Browse the repository at this point in the history
  • Loading branch information
otsakir committed Dec 4, 2018
1 parent 175062e commit 6090cb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/webapp/resources/js/controllers/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,10 @@ olyMod.controller('HomeCtrl', function ($scope, $rootScope, $filter, $location,
$scope.$on('CALL_OPEN_ERROR',handleCallErrorsWhileTouring);
$scope.$on('CALL_ERROR',handleCallErrorsWhileTouring);
$scope.$on('CALL_OPENED', function () {
tourManager.stopTour();
$scope.showTourSplash('call-success',2000);
if (tourManager.stepActive('step-make-the-call')) {
tourManager.stopTour();
$scope.showTourSplash('call-success',2000);
}
});
$scope.$on('MESSAGE_SENT',function () {
if (tourManager.stepActive('step-send-the-message')) {
Expand Down

0 comments on commit 6090cb7

Please sign in to comment.