Tetrakern
fab8e152e0
Fix AJAX comment form sometimes not laoding
2024-02-11 15:37:24 +01:00
Tetrakern
83e0ca217d
Apply new font system
2024-02-07 16:40:14 +01:00
Tetrakern
f86abd070a
Refactor mobile menu jump buttons
2024-02-04 14:27:40 +01:00
Tetrakern
2890793e47
Optimize text-to-speech JS
2024-02-04 05:45:14 +01:00
Tetrakern
96fca5b2cc
Move nonce plausibility check to backend
2024-02-04 03:06:11 +01:00
Tetrakern
6482bb689d
Add JS check for nonce plausibility
...
This does not check whether a nonce is valid, only whether it looks like a valid nonce. Because some cache plugins can break nonces trying to insert them.
2024-02-04 00:44:59 +01:00
Tetrakern
3421ba5598
Let AJAX comment form also receive nonce
...
This should further prevent problems with some cache plugins.
2024-02-04 00:13:43 +01:00
Tetrakern
640e48016d
Consolidate CSS applied by JS
2024-02-03 23:59:15 +01:00
Tetrakern
64201d9681
Clean up and optimize more JS 3
2024-02-03 16:56:38 +01:00
Tetrakern
a591e20a52
Clean up and optimize more JS 2
2024-02-03 13:14:57 +01:00
Tetrakern
fc9f46a489
Clean up and optimize more JS
2024-02-03 12:53:40 +01:00
Tetrakern
be21720619
Optimize cleanup of viewport after AJAX login
2024-02-03 12:40:40 +01:00
Tetrakern
898556a925
Remove unused viewport watch JS
2024-02-02 23:13:59 +01:00
Tetrakern
6667b72249
Clean up obsolete JS
2024-02-02 23:11:45 +01:00
Tetrakern
13307a786f
Refactor comment moderation
2024-02-02 22:16:04 +01:00
Tetrakern
1559dfe765
Clean up checkmarks.js
2024-02-02 17:17:35 +01:00
Tetrakern
ec51f6807b
Remove unnecessary JS constant
2024-02-01 14:33:46 +01:00
Tetrakern
145cf3868a
Refactor search form reset
2024-02-01 14:22:21 +01:00
Tetrakern
0faa3a382a
Refactor chapter group toggles
2024-02-01 11:48:06 +01:00
Tetrakern
640da6de2b
Fold in spoiler function
...
This was once called inline, but that is no longer the case and the function therefore superfluous.
2024-02-01 11:36:39 +01:00
Tetrakern
7f337ffb10
Refactor mutation observers
2024-02-01 11:30:19 +01:00
Tetrakern
b13d2fd5d6
Reduce lightbox JS
2024-02-01 09:58:38 +01:00
Tetrakern
81b479de43
Cleanup and refactor some JS
...
Folded some class assignments into loops, refactored observers, dealt with some formatting.
2024-02-01 09:49:34 +01:00
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