summaryrefslogtreecommitdiff
path: root/www/templates/moment.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-19 10:04:54 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-19 10:04:54 -0500
commit83a20c4367b37f949a5b09b7cc1fbe09a06f47ab (patch)
tree3f581769b2deb582913b99eeb97ae845e102eecb /www/templates/moment.html
parentbbc3026a02f5964e9c3fe8370cf49f1e14fab97e (diff)
#570 tweaked collapse logic to only collapse future frames
Diffstat (limited to 'www/templates/moment.html')
-rw-r--r--www/templates/moment.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/templates/moment.html b/www/templates/moment.html
index b2c8bbac..2c3ecc52 100644
--- a/www/templates/moment.html
+++ b/www/templates/moment.html
@@ -47,7 +47,7 @@
<figure class="grid-item grid-item-{{gridSize}}" ng-repeat="moment in moments | onlyEnabledMoments">
- <figcaption class="normal-figheader">{{moment.Event.monitorName}}<span style="float:right"><button class="button button-small button-icon icon {{moment.Event.icon}}" ng-click="toggleCollapse(moment.Event.MonitorId, moment.Event.Id)"></button>{{moment.Event.collapseCount}}&nbsp;</span></figcaption>
+ <figcaption class="normal-figheader">{{moment.Event.monitorName}}<span style="float:right"><button class="button button-small button-icon icon {{moment.Event.icon}}" ng-click="toggleCollapse(moment.Event.MonitorId, moment.Event.Id, $index)"></button>{{moment.Event.collapseCount}}&nbsp;</span></figcaption>
<img image-spinner-src="{{moment.Event.baseURL}}/index.php?view=image&fid={{moment.Event.MaxScoreFrameId}}&width={{moment.Event.thumbWidth*2}}&height={{moment.Event.thumbHeight*2}}" img-spinner-w="{{moment.Event.width}}"
img-spinner-h="{{moment.Event.height}}" image-spinner-loader="lines"
on-tap="showThumbnail(moment.Event.baseURL,moment.Event.MaxScoreFrameId)"/>