diff --git a/www/plugins/graph/templates/currency/popover_monetary_mass_actions.html b/www/plugins/graph/templates/currency/popover_monetary_mass_actions.html index 785dfa0e38733ecc2f5d9c91933933cff7199eae..480a74124b14d79198c3e91dddfed4ebabece23d 100644 --- a/www/plugins/graph/templates/currency/popover_monetary_mass_actions.html +++ b/www/plugins/graph/templates/currency/popover_monetary_mass_actions.html @@ -5,18 +5,10 @@ <ion-content scroll="false"> <div class="list item-text-wrap"> - <!-- scale: linear --> - <a class="item item-icon-right ink" - ng-click="setScale('linear')"> - <span ng-bind-html="'GRAPH.COMMON.LINEAR_SCALE' | translate"></span> - <i class="icon ion-ios-checkmark-empty" ng-show="scale=='linear'"></i> - </a> - - <!-- duration: day --> - <a class="item item-icon-right ink" - ng-click="setScale('logarithmic')"> + <a class="item item-icon-left ink" + ng-click="toggleScale()"> + <i class="icon ion-ios-checkmark-empty" ng-show="formData.scale=='logarithmic'"></i> <span ng-bind-html="'GRAPH.COMMON.LOGARITHMIC_SCALE' | translate"></span> - <i class="icon ion-ios-checkmark-empty" ng-show="scale=='logarithmic'"></i> </a> </div>