Code style changes

This commit is contained in:
brantje 2016-12-21 14:16:47 +01:00
parent b1aebc4a14
commit 8193b6d9f1
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F
3 changed files with 5 additions and 5 deletions

View file

@ -360,7 +360,7 @@
};
$scope.fileLoadError = function (error) {
console.log($translate.instant('error.loading.file'), error);
return error;
};
$scope.selected_file = '';

View file

@ -133,7 +133,7 @@
_loginToVault(vault, vault_key);
} catch (e) {
$scope.error = $translate.instant('invalid.vault.key')
$scope.error = $translate.instant('invalid.vault.key');
}
};

View file

@ -46,10 +46,10 @@
total: '=total'
},
link: function () {
link: function (scope) {
$translate(['complete']).then(function (translations) {
$scope.completed_text = translations['complete'];
})
scope.completed_text = translations.complete;
});
}
};
}]);