From 489226f2e8b77bf2d96b53f715bb35efdd432a8b Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 6 May 2018 16:11:36 -0400 Subject: typo --- www/js/EventModalCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js') diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js index 7f926e80..1cbd8fa8 100644 --- a/www/js/EventModalCtrl.js +++ b/www/js/EventModalCtrl.js @@ -1725,7 +1725,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro else if (dirn==2) { // this is called when you delete var id=""; - if ($scope.nextId > 0) id = $scope.nextId + if ($scope.nextId > 0) id = $scope.nextId ; else if ($scope.prevId > 0) id = $scope.prevId; NVRDataModel.debug ("after delete, moving to "+id); prepareModalEvent(id); -- cgit v1.2.3