diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/lmmtfy.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/lmmtfy.js b/js/lmmtfy.js index 2c5a642..0f9951d 100644 --- a/js/lmmtfy.js +++ b/js/lmmtfy.js @@ -10,6 +10,7 @@ const dom_query = document.getElementById("query"); const dom_sect = document.getElementById("sect"); const dom_arch = document.getElementById("arch"); const dom_man = document.getElementById("man"); +const dom_opts = document.getElementById("query_opts_toggle"); const query = dom_query.value; const sect = dom_sect.value; @@ -29,6 +30,9 @@ let actions = [250, () => { dom_query.focus(); }, 1], [150, () => { dom_query.value += query[j++]; }, query.length], + [100, () => { dom_opts.focus(); }, 1], + [100, () => { dom_opts.click(); }, 1], + [100, () => { dom_sect.focus(); }, 1], [100, () => { dom_sect.value = sect; }, 1], [100, () => { fix_width(dom_sect); }, 1], |