We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4010b83 commit 2960796Copy full SHA for 2960796
app/js/_timer.js
@@ -29,11 +29,10 @@ var timerModule = angular.module('timer', [])
29
$scope.autoStart = $attrs.autoStart || $attrs.autostart;
30
31
32
- $scope.language = $attrs.language || 'en';
+ $scope.language = $scope.language || 'en';
33
//init momentJS i18n, default english
34
35
var i18nService = new I18nService();
36
-
37
i18nService.init($scope.language);
38
39
if ($element.html().trim().length === 0) {
0 commit comments