summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-06-15 16:16:01 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-06-15 16:16:01 -0400
commit2de1ff5fb84dfcd29ba33690b7a47ca3d839478d (patch)
treea81b139709858e0294d47cf98f791ad3685f6b24
parentcc355ffd242506c1d25569069ae0634e6d38835d (diff)
fixes #651
-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);
}