diff options
author | dweller <dweller@cabin.digital> | 2024-03-06 00:29:17 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-03-06 00:29:17 +0200 |
commit | 27ffb10ce68225af3ef8316dd173c1bbb90cac48 (patch) | |
tree | 677191acae0eb514020d9eb138a48721a80697ea | |
parent | f5d2712bd09c40904d19eab6812a2305fa46e9b4 (diff) |
take into account the slide action of query options in lmmtfy script
Diffstat (limited to '')
-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], |