summaryrefslogtreecommitdiff
path: root/www/js/MonitorCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-05-08 11:15:48 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-05-08 11:15:48 -0400
commitfc467d5b8306a8aa5b42f97b938899c6c07909aa (patch)
treea398769dd38c61c20715db54097a5caf03f3ae9b /www/js/MonitorCtrl.js
parent1a49d5f20142be21f235a01b4838c261ad1a09a7 (diff)
no need for ng-checked with ng-model, also removed some old dev settings, enforced to true
Diffstat (limited to 'www/js/MonitorCtrl.js')
-rw-r--r--www/js/MonitorCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index 74842c08..b41abfd0 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -150,7 +150,7 @@ angular.module('zmApp.controllers')
$rootScope.zmPopup = $ionicPopup.show(
{
scope: $scope,
- template: '<ion-toggle ng-model="monfunc.myenabled" ng-checked="monfunc.myenabled" toggle-class="toggle-calm">Enabled</ion-toggle><ion-radio-fix ng-repeat="item in monFunctions" ng-value="item.value" ng-model="monfunc.myfunc"> {{item.text}} </ion-radio-fix>',
+ template: '<ion-toggle ng-model="monfunc.myenabled" toggle-class="toggle-calm">Enabled</ion-toggle><ion-radio-fix ng-repeat="item in monFunctions" ng-value="item.value" ng-model="monfunc.myfunc"> {{item.text}} </ion-radio-fix>',
title: $translate.instant('kChangeSettingsFor') + ' ' + monitorName,