1
0
Fork 0
forked from OpenNeo/impress
impress/app
Emi Matchu c011e99819 Fix various JS Turbo issues
First one, Turbo reasonably yelled at us in the JS console that we
should put its script tag in the `head` rather than the `body`, because
it re-executes scripts in the `body` and we don't want to spin up Turbo
multiple times!

I also removed some scripts that aren't relevant anymore, fixed a bug
in `outfits/new.js` where failing to load a donation pet would cause
the preview thing to not work when you type (I think this might've
already been an issue?), reworked `item_header.js` to just run once in
the `head`, and split scripts into `:javascripts` (run once in `head`)
vs `:javascripts_body` (run every page load in `body`).
2024-03-13 21:26:22 -07:00
..
assets Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
controllers Hack to speed up loading the homepage 2024-03-13 13:51:28 -07:00
helpers Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
javascript Fix the Chakra CSS reset applying to too many things on item page 2024-03-13 20:57:30 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Oops, choose the *first* PNG from the manifest, to avoid reference art 2024-03-07 14:16:05 -08:00
services Save manifest load info when preloading them, too 2024-02-25 16:02:36 -08:00
views Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00