bookwyrm/bookwyrm/static/js
Jascha Urbach 105144a026
New approach: Event Delegation
This works as follows:

The div where the input fields for the subjects live got an id. The script now listens to all keypresses in this div, but only does something if it is within an INPUT field. If it is an INPUT field within this div, it looks for keyCode 13. If it is 13, preventDefault() is triggered.  Else nothing happens.
2022-12-20 11:36:14 +01:00
..
vendor add Shepherd version 10.0.0 2022-06-11 14:19:03 +10:00
autocomplete.js Case insensitive suggestions 2022-01-17 10:52:16 -08:00
bookwyrm.js Detect preferred timezone via JavaScript on register 2022-12-11 23:32:07 +01:00
forms.js New approach: Event Delegation 2022-12-20 11:36:14 +01:00
guided_tour.js linting fix for linting fix 2022-07-03 17:24:33 +10:00
localstorage.js Runs prettier 2021-12-16 10:53:38 -08:00
status_cache.js Prettier 2022-05-26 12:54:31 -07:00
tabs.js eslint fixes 2022-02-25 13:00:23 -08:00