wiki.techinc.nl/resources
Nicholas Ray 45c003e1ce Change checkboxHack bindToggleOnSpaceEnter function
This refactors the bindToggleOnSpaceEnter function to use keydown and
keyup listeners to provide the space/enter key functionality. This
provides the following benefits:

* A click event is triggered when pressing the space or enter key on the
passed in "button" element. This simulates native button behavior which
triggers a click event when these keys are pressed.

* Checkboxhack menus will no longer toggle rapidly when holding down the
space/enter keys.

Bug: T291096
Change-Id: I1ea65112fa6b527f1bd9118212838298399996aa
2021-10-27 17:06:17 -06:00
..
assets
lib Drop jQuery migrate 2021-09-30 18:29:05 +02:00
src Change checkboxHack bindToggleOnSpaceEnter function 2021-10-27 17:06:17 -06:00
Resources.php mediawiki.action.edit.preview: Use same UX as in normal diff 2021-10-20 14:24:22 +00:00