bookwyrm/bookwyrm/templates/book/edit
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
..
edit_book.html Don't show HR under last author item in confirm view 2022-12-06 12:26:35 -08:00
edit_book_form.html New approach: Event Delegation 2022-12-20 11:36:14 +01:00