diff options
Diffstat (limited to 'tpl/default/js')
-rw-r--r-- | tpl/default/js/shaarli.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tpl/default/js/shaarli.js b/tpl/default/js/shaarli.js index e5425486..53ec20c5 100644 --- a/tpl/default/js/shaarli.js +++ b/tpl/default/js/shaarli.js | |||
@@ -166,9 +166,10 @@ if (hiddenReturnurl != null) { | |||
166 | hiddenReturnurl.value = window.location.href; | 166 | hiddenReturnurl.value = window.location.href; |
167 | } | 167 | } |
168 | 168 | ||
169 | 169 | /** | |
170 | * Autofocus text fields | ||
171 | */ | ||
170 | var autofocusElements = document.querySelector('.autofocus'); | 172 | var autofocusElements = document.querySelector('.autofocus'); |
171 | console.log(autofocusElements); | ||
172 | if (autofocusElements != null) { | 173 | if (autofocusElements != null) { |
173 | autofocusElements.focus(); | 174 | autofocusElements.focus(); |
174 | } \ No newline at end of file | 175 | } \ No newline at end of file |