Small fix for navigating away

This commit is contained in:
brantje 2016-10-15 17:49:56 +02:00
parent f4c245e0e3
commit 7be6f8c0a1
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -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();
}