From 2de1ff5fb84dfcd29ba33690b7a47ca3d839478d Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 15 Jun 2018 16:16:01 -0400 Subject: fixes #651 --- www/js/EventCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index dbf255b6..81bf4cb2 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -1694,7 +1694,7 @@ angular.module('zmApp.controllers') noBackdrop: true, duration: 1000 }); - if (itemid > 0) $scope.events.splice(itemid, 1); + if (itemid >= 0) $scope.events.splice(itemid, 1); } -- cgit v1.2.3