X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fjs%2Fshaarli.js;h=53ec20c5b83ebfbf1506a7d47eabcdd429ebd1e4;hb=6eafe49eb9afad21b0ce2069489ef1dfc1daf941;hp=e542548607899191d9c09421a59eb4fc3216d4d2;hpb=4103962931b031490fccbaf95ff2b052a82037c7;p=github%2Fshaarli%2FShaarli.git 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