bookwyrm/bookwyrm/static
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
..
css Merge pull request #2459 from viviicat/dark-theme-contrast 2022-11-26 20:43:53 -08:00
fonts Add Source Han font for preview generation to Docker image 2022-01-24 23:16:14 -08:00
images Update 2021-05-25 23:04:28 +02:00
js New approach: Event Delegation 2022-12-20 11:36:14 +01:00