aboutsummaryrefslogtreecommitdiffstats
path: root/settings/l10n
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-25 17:18:26 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-08-28 09:46:02 +0200
commitcb93af66758cb2da9221340d0abbedebdb444e93 (patch)
treedbc0022fb6c5a8d281bc6cd814e2961f16c32ba6 /settings/l10n
parent976625fd4a7d80a61907a0fc70bfcba69414cbde (diff)
downloadnextcloud-server-cb93af66758cb2da9221340d0abbedebdb444e93.tar.gz
nextcloud-server-cb93af66758cb2da9221340d0abbedebdb444e93.zip
Ignore Enter key up event on menu button toggles
Like links, buttons generate a "click" event as well as the regular "keydown" and "keyup" events when pressing Enter. Due to this, if both the "click" and the "keyup" events are handled, when the menu is open and Enter is pressed in the toggle the menu is first hidden when the first event is handled, but then shown again when the second event is handled. To prevent that only the "click" event should be handled when the toggle is a button, like it is already done with links. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'settings/l10n')
0 files changed, 0 insertions, 0 deletions