Tetrakern
9e77a50505
Use navigator.language in bookmarks
2024-01-31 23:59:01 +01:00
Tetrakern
ce8de7bc0b
Refactor bookmarks with DocumentFragment
2024-01-31 23:42:23 +01:00
Tetrakern
2187497301
Put some chapter formatting options into IIFE
2024-01-31 19:45:50 +01:00
Tetrakern
73bea9da7d
Fix chapter formatting light mode toggle
2024-01-31 16:49:54 +01:00
Tetrakern
b056fa9c16
Fix undefined element error
2024-01-31 15:13:05 +01:00
Tetrakern
02e3a2e7b1
Refactor chapter formatting toggles
2024-01-31 14:41:09 +01:00
Tetrakern
14424669b6
Update handling of aria-checked
...
And remove last inline onchange call.
2024-01-31 13:25:02 +01:00
Tetrakern
3740947d8f
Add meta cache for chapter index HTML
...
This was a potentially expensive query executed on each chapter page.
2024-01-27 20:43:20 +01:00
Tetrakern
fae2dda4db
Allow multiple chapter index buttons
2024-01-27 18:27:48 +01:00
Tetrakern
588bdff89a
Update admin.min.js
2024-01-25 20:50:56 +01:00
Tetrakern
cff3fb7798
Fix sometimes undefined variable in JS
...
Well, this was missing all the time, I wonder why it started to make problems NOW and only in some cases.
2024-01-24 21:57:37 +01:00
Tetrakern
1edd4da987
Use eventListener instead of onchange
...
Marginally more resilient.
2024-01-22 22:51:47 +01:00
Tetrakern
5adb88f991
Fix age confirmation modal not always working
2024-01-20 15:27:46 +01:00
Tetrakern
75e4e0aa4e
Move age confirmation script to application
...
Make sure it is loaded.
2024-01-20 15:04:43 +01:00
Tetrakern
73c366ee0d
Add optional age confirmation modal
2024-01-20 14:41:33 +01:00
Tetrakern
38ca5f5c93
Generalize story tab script
2024-01-19 08:56:15 +01:00
Tetrakern
a2ab9585b6
Fix AJAX auth not always working
2024-01-16 08:00:17 +01:00
Tetrakern
6fb6042e2e
Make chapter list popup script more generic
...
Now uses querySelectorAll, so you could have more than one. Currently not the case, though.
2024-01-15 21:20:28 +01:00
Tetrakern
8f45c06fe2
Add optional alternative mobile menu style
2024-01-11 14:18:17 +01:00
Tetrakern
40476cdaa4
Make scroll detection more robust
2024-01-10 02:29:14 +01:00
Tetrakern
71bdd6aee4
Change script name to prevent console errors
2024-01-08 02:48:39 +01:00
Tetrakern
d178ea792e
Generalize chapter infobox hide script
2024-01-03 17:55:08 +01:00
Tetrakern
81ba4b0f2e
Update dark mode data attribute
...
This will now be set to "dark" if dark mode is enabled, instead of being empty. Makes it easier to apply styles to only this mode without a :not function.
2023-11-25 16:36:45 +01:00
Tetrakern
ba08c264fe
Update navigation bar style
2023-11-24 09:45:53 +01:00
Tetrakern
6fc9a8d3af
Add scrolled-top-top body class and script
2023-11-24 00:44:08 +01:00
Tetrakern
aab0a3c49f
Fix missing data attribute on relationship item cloning
2023-11-21 00:57:09 +01:00
Tetrakern
7a923af45c
Add mobile scroll button to relationship fields
2023-11-20 22:44:23 +01:00
Tetrakern
92b8507ea3
Fix relationship add function
2023-11-19 23:35:42 +01:00
Tetrakern
d11d196ba2
Add native relationship meta field, apply to story chapters
...
More to come!
2023-11-19 19:46:05 +01:00
Tetrakern
65bc97dad8
Replace ACF eBook upload
2023-11-16 21:01:49 +01:00
Tetrakern
f1e2bb0968
Encapsulate critical head script
2023-11-14 03:20:31 +01:00
Tetrakern
0e7269bac0
Fix AJAX comments when commenting disabled
2023-10-29 21:27:33 +01:00
Tetrakern
7301ee4484
Update theme nonce handling
2023-10-27 17:53:17 +02:00
Tetrakern
0bb56fc196
Refactor OAuth2
2023-10-23 00:11:32 +02:00
Tetrakern
e6cae22a6d
Update editor chapter group AJAX
2023-10-08 15:07:56 +02:00
Tetrakern
8c7637fbf3
Query chapter groups via AJAx in editor
2023-10-07 15:06:15 +02:00
Tetrakern
d31e8af1dc
Better validation and sanitization for bookmarks
2023-10-07 14:04:24 +02:00
Tetrakern
f3bda73c29
Fix bookmarks
2023-10-07 01:35:50 +02:00
Tetrakern
b0618e0ebe
Update handling of required fields
2023-10-04 20:46:39 +02:00
Tetrakern
e47491e232
Improve admin dialog warnings
2023-10-04 09:32:19 +02:00
Tetrakern
a8f7a80afa
Add tools to append missing meta fields
2023-10-04 03:04:45 +02:00
Tetrakern
6e8308423c
Fix issue with Autoptimize
...
For unexplained reasons, the observer variable was not always set. But only on some sites! Weird. Well, conditional assignments are not great anyway.
2023-10-03 22:35:02 +02:00
Tetrakern
4e8ff81b65
Add database optimization tools
2023-10-03 17:25:43 +02:00
Tetrakern
e37b1191a6
Frontend require validation for meta fields
2023-10-02 20:29:10 +02:00
Tetrakern
eb6c1f87af
Improve admin token input JS
2023-09-30 14:21:12 +02:00
Tetrakern
2f8f0c1a86
Fix local data stores if empty
...
Didn't actually matter since it was refreshed from the server, but still.
2023-09-29 16:25:06 +02:00
Tetrakern
f9c3954fe1
Add icon meta field
2023-09-22 22:16:34 +02:00
Tetrakern
8f3f70537a
Add advanced metabox and merge in page layout
2023-09-21 22:11:16 +02:00
Tetrakern
b1775f65df
Add tokens meta field
2023-09-21 16:58:36 +02:00
Tetrakern
ede90f92fe
Add splitList JS utility
2023-09-21 16:03:39 +02:00