1
0
Fork 0
bookwyrm/bookwyrm/templates/book
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 New approach: Event Delegation 2022-12-20 11:36:14 +01:00
editions use a new has-text-default instead of has-text-black 2022-04-08 23:14:30 -07:00
file_links Fixes editing links 2022-11-25 08:28:45 -08:00
book.html Isfdb ID for books and authors (#2482) 2022-12-11 11:33:33 -08:00
book_identifiers.html Isfdb ID for books and authors (#2482) 2022-12-11 11:33:33 -08:00
cover_add_modal.html Delete readthrough and add cover modals 2022-03-10 09:57:55 -08:00
cover_show_modal.html Update cover_show_modal.html 2021-12-29 16:45:36 +01:00
publisher_info.html Properly localize book format 2021-10-15 13:59:07 -07:00
rating.html Fixes display of user ratings 2021-05-18 11:17:59 -07:00
sync_modal.html Udates sync modals 2022-03-10 09:49:27 -08:00