bookwyrm/bookwyrm
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
..
activitypub Isfdb ID for books and authors (#2482) 2022-12-11 11:33:33 -08:00
connectors Appease pylint 2022-11-25 10:41:04 -08:00
forms Merge pull request #2478 from bookwyrm-social/admin-roles 2022-12-11 13:05:39 -08:00
importers StoryGraph import ISBN tweak 2022-12-02 19:16:22 -08:00
management/commands Merge pull request #2478 from bookwyrm-social/admin-roles 2022-12-11 13:05:39 -08:00
middleware Adds IP blocklist views 2021-09-17 13:04:10 -07:00
migrations Adds merge migration 2022-12-11 12:03:22 -08:00
models Merge pull request #2516 from bookwyrm-social/import-queue 2022-12-16 14:58:35 -08:00
static New approach: Event Delegation 2022-12-20 11:36:14 +01:00
telemetry Copy config from prod branch to main 2022-02-04 18:36:12 -08:00
templates New approach: Event Delegation 2022-12-20 11:36:14 +01:00
templatetags Python formatting 2022-11-25 10:40:06 -08:00
tests updates tests 2022-12-16 14:45:32 -08:00
utils Linting fixes 2022-11-14 01:04:20 -08:00
views Merge pull request #2491 from chdorner/register-tz-support 2022-12-11 14:49:29 -08:00
__init__.py rename main code directory 2020-09-17 13:30:54 -07:00
activitystreams.py Don't add imported reviews to timelines 2022-12-16 14:11:15 -08:00
admin.py Adds model for instance admin announcements 2021-05-19 14:00:46 -07:00
apps.py Log info, not exception, for expected errors 2022-03-11 14:55:54 -08:00
book_search.py Remove trailing whitespace from queries 2022-11-15 20:09:00 -08:00
context_processors.py Python formatting 2022-03-01 11:39:08 -08:00
emailing.py Adds email config admin view (#2494) 2022-12-11 11:37:09 -08:00
imagegenerators.py Fix lint 2021-06-19 19:44:14 +02:00
lists_stream.py Use update_fields to limit remove_list_tasks 2022-07-02 13:23:23 -07:00
preview_images.py Use variable instead of string 2022-11-13 16:59:05 +01:00
redis_store.py use REDIS_x_DB_INDEX instead of REDIS_x_DB, add optional setting to example env file 2022-01-13 09:16:16 -07:00
settings.py Update version number and javascript cache buster 2022-12-11 13:46:53 -08:00
signatures.py Updating string format syntax part 1 2021-09-17 21:39:18 -07:00
status.py Catches missing reference to previous sanitizer 2022-07-04 13:24:13 -07:00
storage_backends.py Fix R1725: Consider using Python 3 style super() without arguments 2021-08-04 11:58:53 +02:00
suggested_users.py Use variable instead of string 2022-11-13 16:59:05 +01:00
tasks.py Create a separate celery queue for imports 2022-12-16 14:20:50 -08:00
thumbnail_generation.py Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
urls.py Merge branch 'main' into admin-roles 2022-12-11 11:58:54 -08:00
wsgi.py Updates migrations 2020-09-21 08:10:37 -07:00