Skip to content

Commit

Permalink
show next thumbnail size in in popover
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Oct 22, 2020
1 parent c4cc9bf commit 08857ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions www/js/EventCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ angular.module('zmApp.controllers')
var eHandle;
var scrubOngoing = false;

$scope.thumbSizeOptions = {
'xsmall': $translate.instant('kEventViewThumbsXSmall'),
'small': $translate.instant('kEventViewThumbsSmall'),
'large':$translate.instant('kEventViewThumbsLarge'),
$scope.nextThumbSizeOptions = {
'xsmall': $translate.instant('kEventViewThumbsSmall'),
'small': $translate.instant('kEventViewThumbsLarge'),
'large':$translate.instant('kEventViewThumbsXSmall'),
};

var currEventNum = 0;
Expand Down
2 changes: 1 addition & 1 deletion www/templates/events-popover.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Event Graphs
</a>-->
<a class="item" style="text-transform:capitalize;" ng-href="" ng-click="popover.hide();toggleThumbSize();doRefresh();">
{{'kEventViewThumbsSize' | translate}}: {{thumbSizeOptions[loginData.eventViewThumbsSize]}}
{{'kEventViewThumbsSize' | translate}}: {{nextThumbSizeOptions[loginData.eventViewThumbsSize]}}
</a>
<a class="item" ng-href="" ng-click="popover.hide();doRefresh();">
{{'kRefresh' | translate}}
Expand Down

0 comments on commit 08857ae

Please sign in to comment.