docbrown/app/assets/javascripts
Jamie Gaskins 4b640077e7
Fix readline key bindings for comments on macOS (#14423)
* Fix readline key bindings for comments on macOS

* Extract OS-specific modifier key check to Runtime

* Add the *actual* OS-specific modifier check

* Only operate on the event if it's a KeyboardEvent

It's the only type of event we care about here.

This commit also changes the `!= -1` to `>= 0` to be more clear about
intent. The `index != -1` is a double negative - it means the substring
"is not not found". Instead, the `>= 0` means "is found".
2021-08-10 12:42:27 -04:00
..
initializers Fix readline key bindings for comments on macOS (#14423) 2021-08-10 12:42:27 -04:00
lib Provide skip links: Tweak skip link style, refactor main area ID (#12694) 2021-02-17 10:15:31 +00:00
utilities remove extra margin (#14086) 2021-06-29 07:01:03 +02:00
.eslintrc.js Use a single listener for all follow buttons on a page (#14246) 2021-07-27 10:45:50 +01:00
base.js.erb Add aria-live announcement to notify users of the route change (#14284) 2021-07-27 14:14:45 +01:00
initializePage.js Use a single listener for all follow buttons on a page (#14246) 2021-07-27 10:45:50 +01:00
jquery_s3_upload.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00