diff options
Diffstat (limited to 'js/directive/NewsAutoFocus.js')
-rw-r--r-- | js/directive/NewsAutoFocus.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/directive/NewsAutoFocus.js b/js/directive/NewsAutoFocus.js index e66f7b3bf..b73dd2443 100644 --- a/js/directive/NewsAutoFocus.js +++ b/js/directive/NewsAutoFocus.js @@ -9,7 +9,6 @@ */ app.directive('newsAutoFocus', () => { 'use strict'; - return (scope, elem, attrs) => { if (attrs.newsAutofocus) { $(attrs.newsAutofocus).focus(); @@ -17,5 +16,4 @@ app.directive('newsAutoFocus', () => { elem.focus(); } }; - });
\ No newline at end of file |