diff options
author | brantje <brantje@gmail.com> | 2016-10-15 18:49:56 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-10-14 16:49:08 +0300 |
commit | 7be6f8c0a127f676bb1ec244ee386fa8a7b11e7f (patch) | |
tree | 696cbfebcd831702f26f0b8e471993b02bd33b88 /js | |
parent | f4c245e0e363c5e00b4dfcac1dfa0fd4fb7886ff (diff) |
Small fix for navigating away
Diffstat (limited to 'js')
-rw-r--r-- | js/app/controllers/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js index 79ec4690..3ad46817 100644 --- a/js/app/controllers/share.js +++ b/js/app/controllers/share.js @@ -242,7 +242,7 @@ $scope.$on("$locationChangeStart", function(event) { - if(!sharing_complete){ + if(!$scope.sharing_complete){ if(!confirm("Are you sure you want to leave?\nThis will corrupt this credential")){ event.preventDefault(); } |