impress/app/assets/javascripts
Emi Matchu 4c44f8d6a4 Fix species face picker going inert again after Turbo frame load
Here, I remember the trick I learned when building the outfit viewer:
web components are great for making sure stuff stays initialized well
in a Turbo environment!

The problem was, after submitting the form and getting a new preview
loaded via Turbo, the part where we remove `inert` would get undone.
Additionally, this script only loads *once* per session, so if you
Turbo-nav to a different item then that part of the page never ran.

Instead, we use web components to remove the attributes on mount, then
again if they're ever reapplied by Idiomorph.
2024-09-03 17:07:53 -07:00
..
closet_hangers Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
fundraising/donations Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
items Fix species face picker going inert again after Turbo frame load 2024-09-03 17:07:53 -07:00
lib Use "morphing" for smoother item page preview changes 2024-07-03 21:52:43 -07:00
outfits Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
pets Add better support for hashed pet names 2024-08-31 12:07:52 -07:00
swf_assets Potentially improve loading state in new item page preview 2024-07-08 16:44:22 -07:00
ajax_auth.js Run Prettier on some of our JS assets 2024-02-18 20:34:55 -08:00
outfit-viewer.js A few more comments and code style refactors for item previews 2024-08-30 17:09:39 -07:00