Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-12-21 16:16:47 +0300
committerbrantje <brantje@gmail.com>2016-12-21 16:16:47 +0300
commit8193b6d9f1db83f5bd1309002b2959705982d5a7 (patch)
treef6abbb9196a13eb21d8e21b302dc02a3169882a0 /js/app/directives
parentb1aebc4a1452d950a5c8f63629e129f17caf5986 (diff)
Code style changes
Diffstat (limited to 'js/app/directives')
-rw-r--r--js/app/directives/progressbar.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/app/directives/progressbar.js b/js/app/directives/progressbar.js
index b7870cf7..a292584b 100644
--- a/js/app/directives/progressbar.js
+++ b/js/app/directives/progressbar.js
@@ -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;
+ });
}
};
}]);