Fix bug: Frames button did not properly swap text

This commit is contained in:
Kyle Johnson 2015-01-27 11:26:01 -05:00
parent e89e63c5e4
commit 32ca007f74
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ ZoneMinder.controller('EventController', function($scope, Event, $modalInstance,
}; };
$scope.eventView = function() { $scope.eventView = function() {
$scope.eventView_text = 'Stream'; $scope.eventView_text = $scope.eventView_text == 'Stream' ? 'Frames' : 'Stream';
$scope.stream = $scope.stream == true ? false : true; $scope.stream = $scope.stream == true ? false : true;
}; };
}); });