diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-10-15 17:01:37 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:29:53 +0100 |
commit | 6eafe49eb9afad21b0ce2069489ef1dfc1daf941 (patch) | |
tree | a2302a391123d4bd03bcec78c3530a136920d5b3 /tpl/default/js/shaarli.js | |
parent | 7aff34edf05ea791a531c8787d3d6ca792ffb304 (diff) | |
download | Shaarli-6eafe49eb9afad21b0ce2069489ef1dfc1daf941.tar.gz Shaarli-6eafe49eb9afad21b0ce2069489ef1dfc1daf941.tar.zst Shaarli-6eafe49eb9afad21b0ce2069489ef1dfc1daf941.zip |
Import/export templates and minor fixes
Diffstat (limited to 'tpl/default/js/shaarli.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 |