2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2025-01-12 15:04:23 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Jason McBrayer
9d70757988 Fix issue #40 (menu covers posting box in mobile with no JS)
Don't pin the menu to the top by default -- add those classes from JavaScript.
This is clearly the best thing on mobile, but it means that on desktop, without
JavaScript, the menu will not be pinned to the top, which used to work.
2018-12-06 10:14:25 -05:00
Jason McBrayer
4676c49482 Take out the PJAX again.
It seems initially to work with notifications, but ultimately it just doesn't
quite.
2018-11-15 14:45:40 -05:00
Jason McBrayer
a0a4dd2e56 Try harder to not leave the loading animation running 2018-11-06 17:41:03 -05:00
Jason McBrayer
347ccb4bbe Restore all of the PJAX stuff because I figured out what was going wrong 2018-11-06 17:05:03 -05:00
Jason McBrayer
221a13c593 Revert "Add animated loading indicator for some links."
This reverts commit 0fd520b78b.
2018-10-14 20:59:38 -04:00
Jason McBrayer
c52307fc9d But don't leave indicator hanging around on 'back' 2018-10-14 20:22:32 -04:00
Jason McBrayer
0fd520b78b Add animated loading indicator for some links.
This is redundant on desktop and for full mobile browser interface,
but useful for minimal mobile browser PWA mode.
2018-10-14 20:14:18 -04:00
Jason McBrayer
66e53837cf Truncate file names in file upload buttons 2018-10-14 08:20:11 -04:00
Jason McBrayer
def0256fee savePlace and restorePlace are no longer needed since we junked PJAX 2018-09-20 19:16:22 -04:00
Jason McBrayer
62dbc3a1f7 Fix history stuff so it doesn't affect mobile hamburger button 2018-09-18 10:53:21 -04:00
Jason McBrayer
075b8f67fe When going back a page, scroll to the last known vertical position
This is only needed for JS-enhanced links. Without javascript to mess it up,
the browser handles this 100% correctly by itself.
2018-09-17 22:13:54 -04:00
Jason McBrayer
9605c04a5f Some small JavaScript fixes 2018-09-15 19:49:28 -04:00
Jason McBrayer
a2efc3fe08 Use ic-scroll-to-target where applicable 2018-09-15 16:40:16 -04:00
Jason McBrayer
67bfcde2fe Add character count to toot forms 2018-09-07 16:28:33 -04:00
Jason F. McBrayer
3407aa8086 Don't create expandCWs button multiple times 2018-09-06 13:36:27 -04:00
Jason McBrayer
d9cb4b36e5 Ensure that file buttons can still be updated when you expand minimal toot form 2018-09-06 12:12:49 -04:00
Jason McBrayer
4f8bba7765 Ensure that CW-expander is present when threads page is AJAX-loaded 2018-09-06 12:07:31 -04:00
Jason McBrayer
0d3cc1c5ac Also deactivate the burger menu 2018-09-03 20:10:35 -04:00
Jason McBrayer
60c6adfbb2 Close the menu after pjax loading a page 2018-09-03 19:47:06 -04:00
Jason McBrayer
56f2309edc Fix the page title issue and factor out javascript 2018-09-03 17:28:45 -04:00