summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-23 17:25:44 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-23 17:25:44 -0500
commit8f140f1da396d2590f8987ee46ca28e2dde0538d (patch)
treebc93360bfb26adee6fa77b662ea4af44e25f80a6
parent3713ae20e93eafbf21dd313332aa78e85901b75e (diff)
#570 correct count in collapse all
-rw-r--r--www/js/MomentCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js
index 64198c2d..dde163f7 100644
--- a/www/js/MomentCtrl.js
+++ b/www/js/MomentCtrl.js
@@ -314,7 +314,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$
} // moment for j
if (firstIndex !=-1) {
if (collapseCount>0) {
- $scope.moments[firstIndex].Event.collapseCount = collapseCount;
+ $scope.moments[firstIndex].Event.collapseCount = collapseCount+1;
}
else { // nothing to group
$scope.moments[firstIndex].Event.icon = 'ion-code-working';