components/help: always show autocomplete keybind

This commit is contained in:
Simon Ser 2024-02-15 16:37:32 +01:00
parent 75d721c02d
commit 7e5e94cda0

View File

@ -26,11 +26,13 @@ function KeyBindingsHelp() {
`;
});
l.push(html`
<dt><kbd>Tab</kbd></dt>
<dd>Automatically complete nickname or channel</dd>
`);
if (!window.matchMedia("(pointer: none)").matches) {
l.push(html`
<dt><kbd>Tab</kbd></dt>
<dd>Automatically complete nickname or channel</dd>
<dt><strong>Middle mouse click</strong></dt>
<dd>Close buffer</dd>
`);