]> cat aescling's git repositories - mastodon.git/commit
Ignore alt-key hotkeys in text fields (#14942)
authorThibG <thib@sitedethib.com>
Mon, 5 Oct 2020 20:04:06 +0000 (22:04 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Oct 2020 20:04:06 +0000 (22:04 +0200)
commit63770d3aac1611155213e4c903424849cc254519
tree64b586523e2fe71e76f1f1b26d2016cf815d62ca
parent5a9ad221bf534cf52e2a81fda01b35088a3d8624
Ignore alt-key hotkeys in text fields (#14942)

Fixes #14862

This used to be the case until #13987, which introduced a hotkey to toggle
the Content Warning field.

Unfortunately, MacOS relies on the “alt” key for many things, including
composing text (see #14862), therefore, even if that makes the CW toggle
hotkey significantly less useful, it makes sense to not interfere with
composing toots.
app/javascript/mastodon/features/ui/index.js