diff options
author | brantje <brantje@gmail.com> | 2016-12-21 16:16:47 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-12-21 16:16:47 +0300 |
commit | 8193b6d9f1db83f5bd1309002b2959705982d5a7 (patch) | |
tree | f6abbb9196a13eb21d8e21b302dc02a3169882a0 /js/app/directives | |
parent | b1aebc4a1452d950a5c8f63629e129f17caf5986 (diff) |
Code style changes
Diffstat (limited to 'js/app/directives')
-rw-r--r-- | js/app/directives/progressbar.js | 6 |
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; + }); } }; }]); |