summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-21 10:33:47 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-21 10:33:47 -0400
commit3f549f3d6ea3dac1fbf862e236549ce0dd7fd570 (patch)
tree9f0f4f022a813a658d294b598f901b2bd6be8193 /www/js/DataModel.js
parent8e34a5c7d2e5969d72a2a469e8c97ad7fc7de712 (diff)
#724 more cleanup
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index f1ea3689..71062b57 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -703,13 +703,7 @@ angular.module('zmApp.controllers')
// the ZM authors fix this and streamline the access of images
// from APIs, I don't have an option
- zmStateGo: function (state, p1, p2) {
- if ($rootScope.platformOS == 'desktop')
- $state.go(state, p1, p2);
- else
- $state.go(state, p1, p2);
- // $ionicNativeTransitions.stateGo(state, p1, p2);
- },
+
// used when an empty server profile is created
getDefaultLoginObject: function () {