aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/js
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/js')
-rw-r--r--tpl/default/js/shaarli.js5
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 */
170var autofocusElements = document.querySelector('.autofocus'); 172var autofocusElements = document.querySelector('.autofocus');
171console.log(autofocusElements);
172if (autofocusElements != null) { 173if (autofocusElements != null) {
173 autofocusElements.focus(); 174 autofocusElements.focus();
174} \ No newline at end of file 175} \ No newline at end of file