863 Commits

Author SHA1 Message Date
Tetrakern
d379d2a9ca Clean up utility.js 2023-06-12 22:54:26 +02:00
Tetrakern
0abfbba062 Clean up user.js 2023-06-12 22:47:16 +02:00
Tetrakern
e19d24c555 Clean up user-profile.js 2023-06-12 22:45:42 +02:00
Tetrakern
7dcb1d5f99 Clean up tts.js 2023-06-12 22:41:24 +02:00
Tetrakern
8469ab6f94 Clean up, fix, and improve suggestion.js
Modal toggle did not work. Oh well~
2023-06-12 22:35:39 +02:00
Tetrakern
986eedda09 Clean up story.js 2023-06-12 22:10:28 +02:00
Tetrakern
c54e98b1e7 Back to local storage
Session storage just cannot be properly cleared site-wide, which is actually worse in terms of security if you log out and leave another tab open.
2023-06-12 22:08:30 +02:00
Tetrakern
e194f09547 Change web storage type and add note
Follows, Reminders, and Checkmarks may be out of sync for a minute in another tab or window if recently loaded since we cannot clear the session storage there. This is an extremely minor issue since it will fix itself after the cache times out.
2023-06-12 21:49:39 +02:00
Tetrakern
021c54a2f3 Clean up reminders.js 2023-06-12 21:47:31 +02:00
Tetrakern
94f2110402 Clean up mobile-menu.js 2023-06-12 21:39:58 +02:00
Tetrakern
e7d3c0f923 Fix AJAX comment form events
That is why I tend to use inline JS events. Binding everything is such a chore.
2023-06-12 21:25:47 +02:00
Tetrakern
e57221142d Cleanup lightbox.js 2023-06-12 20:41:27 +02:00
Tetrakern
682ed8b136 Cleaned up follows.js 2023-06-12 20:40:15 +02:00
Tetrakern
90c1f4921d Clean up comments.js 2023-06-12 20:37:56 +02:00
Tetrakern
e064dead58 Improve reveal of comment form action if hidden 2023-06-12 20:30:12 +02:00
Tetrakern
12d7a68336 Fix AJAX comment form/section
I cannot even say when this broke. I know it was working once. Huh.
2023-06-12 20:10:14 +02:00
Tetrakern
a6705035e9 Clean up checkmarks.js 2023-06-12 19:33:48 +02:00
Tetrakern
13d0f2870a Cleanup chapter.js 2023-06-12 19:08:17 +02:00
Tetrakern
b8e1a97e16 Clean up bookmarks.js 2023-06-12 16:37:03 +02:00
Tetrakern
fa38772bc9 Clean up application.js 2023-06-12 16:12:10 +02:00
Tetrakern
3f8b882068 Prevent double prompt for page number dots 2023-06-12 15:48:20 +02:00
Tetrakern
3af8168dc2 Clean up ajax-comments.js 2023-06-12 15:47:35 +02:00
Tetrakern
81ee31c9fe Clean up ajax-bookshelf.js 2023-06-12 14:45:30 +02:00
Tetrakern
b71cd494b5 Update singular-bookshelf-ajax.php 2023-06-12 13:05:34 +02:00
Tetrakern
b1c2559801 Update _follows.php 2023-06-12 13:05:30 +02:00
Tetrakern
40bbe4b679 Update author.php 2023-06-12 13:01:32 +02:00
Tetrakern
cbb2bda7a1 Update singular-bookshelf.php 2023-06-12 12:42:29 +02:00
Tetrakern
137afd6ed4 Use session storage for temp page cache
Far better for this purpose. Also fixed deferred nonce not being cleared on time.
2023-06-12 11:41:31 +02:00
Tetrakern
3badca4c26 Remove superfluous catch and then 2023-06-12 10:16:30 +02:00
Tetrakern
5b39bbf0af Reduce bookmarks JS
Also use the full link again because the relative one may have been short but did not work with URIs that include a path. Something that should not occur but one never knows.
2023-06-12 10:02:10 +02:00
Tetrakern
ac41717f3a Update singular-bookshelf.php 2023-06-12 00:41:47 +02:00
Tetrakern
c1645b746b Update author.php 2023-06-12 00:16:05 +02:00
Tetrakern
b8fefa3471 Do not stop TTS on page load
Readers might want to listen and browse, which this made impossible.
2023-06-11 22:20:24 +02:00
Tetrakern
9e727533dd Add aria labels to info box toggles 2023-06-11 19:24:16 +02:00
Tetrakern
df31541171 Add aria label to order list buttons 2023-06-11 19:21:15 +02:00
Tetrakern
3627204f06 Fix accessibility
Not a single word!
2023-06-11 19:15:02 +02:00
Tetrakern
2b6184ca75 Improve footer menu
No more weird wrapping and better render performance too.
2023-06-11 18:54:14 +02:00
Tetrakern
efdd984505 Fix story footer checkmark
Again. I swear I'm good at this!
2023-06-11 18:13:42 +02:00
Tetrakern
3acb67a8f5 Add utility function to get clean URL
Enough with this annoyance!
2023-06-11 16:43:26 +02:00
Tetrakern
ca3ef92068 Extended archives and sort-order-filter 2023-06-11 16:15:23 +02:00
Tetrakern
312972a9f0 Make sure page default to 1 on list pages
Apparently this can result in 0. Aha. Sure. Thanks for nothing.
2023-06-11 14:35:06 +02:00
Tetrakern
abacfb332f Update sort-order-filter margins 2023-06-11 14:19:37 +02:00
Tetrakern
6205d42175 Improve SOF function
Should now always use the current base URL without page or query args.
2023-06-11 14:19:10 +02:00
Tetrakern
35bfa7b058 Remove order param from date query helper
Completely unnecessary here.
2023-06-11 13:38:08 +02:00
Tetrakern
d0e30b024a Fix date query helper
Whelp, glad I caught that one.
2023-06-11 13:32:35 +02:00
Tetrakern
51a8cce930 Move date query helper to query helpers
Makes more sense, no?
2023-06-11 13:15:24 +02:00
Tetrakern
fa7df6a9eb Only show list panels in mobile menu if not empty 2023-06-11 12:15:25 +02:00
Tetrakern
0bc1977e2a Update date query helper
Paranoia.
2023-06-11 12:14:12 +02:00
Tetrakern
de95fb4c22 Fix publish date not showing sometimes
Apparenty, the_date() does that under dubious circumstances. Whatever.
2023-06-11 05:17:09 +02:00
Tetrakern
142096f72a Add aria labels 2023-06-11 04:29:58 +02:00