1
0
Fork 0
forked from OpenNeo/impress
impress/app/helpers
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
..
fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
application_helper.rb Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
closet_hangers_helper.rb High-level caching for closet lists 2024-02-20 18:43:39 -08:00
closet_lists_helper.rb Fix incorrect closet list deletion prompt message 2024-03-13 13:59:27 -07:00
closet_pages_helper.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
contribution_helper.rb Add Styling Studio page to show the styles we already have modeled 2024-01-24 06:53:37 -08:00
item_trades_helper.rb Sort trades in vaguely-recent order 2024-01-21 03:59:06 -08:00
items_helper.rb Add DTI 2020 link to item pages 2024-03-13 17:46:45 -07:00
neopets_page_import_tasks_helper.rb refactor importing 2015-07-27 13:25:24 -04:00
outfits_helper.rb Use higher-res outfit thumbnails if the device has at least 2x DPI 2024-02-08 10:07:09 -08:00