summaryrefslogtreecommitdiffstats
path: root/js/directive
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-10 01:26:12 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-10 01:26:12 +0200
commit5fbcf7441c0ce9c053e056fa93fcd07405f9eaf3 (patch)
tree7ccfc7c9c3bf17ba47469ac5bf9b5bae66d07640 /js/directive
parent144607005140602e3e33f8682ceed331e76982aa (diff)
update traceur runtime
Diffstat (limited to 'js/directive')
-rw-r--r--js/directive/NewsAutoFocus.js2
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