summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/EventCtrl.js2
1 files changed, 1 insertions, 1 deletions
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);
}