mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
Correct format of directive creation to work in un-minified state
Fixes #4606
This commit is contained in:
parent
995721e0da
commit
d28ed6badf
1 changed files with 2 additions and 2 deletions
|
|
@ -183,7 +183,7 @@ habitrpg
|
|||
"</div>\n");
|
||||
}]);
|
||||
|
||||
habitrpg.directive('focusMe', function($timeout, $parse) {
|
||||
habitrpg.directive('focusMe', ['$timeout', '$parse', function($timeout, $parse) {
|
||||
return {
|
||||
link: function(scope, element, attrs) {
|
||||
var model = $parse(attrs.focusMe);
|
||||
|
|
@ -194,4 +194,4 @@ habitrpg.directive('focusMe', function($timeout, $parse) {
|
|||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
}]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue