diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/app/controllers/credential.js | 2 | ||||
-rw-r--r-- | js/app/controllers/share.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js index ff1650b5..4fa77a96 100644 --- a/js/app/controllers/credential.js +++ b/js/app/controllers/credential.js @@ -198,7 +198,7 @@ $scope.settings = SettingsService.getSettings(); }; - if(!SettingsService.getSetting('user_sharing_enabled')){ + if(!SettingsService.getSetting('settings_loaded')){ $rootScope.$on('settings_loaded', function () { settingsLoaded(); }); diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js index 3ac6b0e6..59c73190 100644 --- a/js/app/controllers/share.js +++ b/js/app/controllers/share.js @@ -64,7 +64,7 @@ } }; - if(!SettingsService.getSetting('user_sharing_enabled')){ + if(!SettingsService.getSetting('settings_loaded')){ $rootScope.$on('settings_loaded', function () { settingsLoaded(); }); |