Fix bug: Frames button did not properly swap text
This commit is contained in:
parent
e89e63c5e4
commit
32ca007f74
|
@ -190,7 +190,7 @@ ZoneMinder.controller('EventController', function($scope, Event, $modalInstance,
|
|||
};
|
||||
|
||||
$scope.eventView = function() {
|
||||
$scope.eventView_text = 'Stream';
|
||||
$scope.eventView_text = $scope.eventView_text == 'Stream' ? 'Frames' : 'Stream';
|
||||
$scope.stream = $scope.stream == true ? false : true;
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue