summaryrefslogtreecommitdiff
path: root/www/js/MomentCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MomentCtrl.js')
-rw-r--r--www/js/MomentCtrl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js
index 64631f89..1cb080b3 100644
--- a/www/js/MomentCtrl.js
+++ b/www/js/MomentCtrl.js
@@ -267,6 +267,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$
NVRDataModel.log ("Uh oh, ndx returned -1, this should never happen. Event passed was "+eid);
return;
}
+
$scope.moments[ndx].Event.pinned = !$scope.moments[ndx].Event.pinned;
};