From 6eafe49eb9afad21b0ce2069489ef1dfc1daf941 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 15 Oct 2016 17:01:37 +0200 Subject: Import/export templates and minor fixes --- tpl/default/js/shaarli.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tpl/default/js') 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) { hiddenReturnurl.value = window.location.href; } - +/** + * Autofocus text fields + */ var autofocusElements = document.querySelector('.autofocus'); -console.log(autofocusElements); if (autofocusElements != null) { autofocusElements.focus(); } \ No newline at end of file -- cgit v1.2.3