impress/app
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
..
assets Fix species face picker going inert again after Turbo frame load 2024-09-03 17:07:53 -07:00
controllers Extremely lo-fi new species face picker for simplified item previews 2024-09-03 13:30:12 -07:00
helpers Disable pet faces that the item doesn't fit, in new item previews 2024-09-03 16:42:04 -07:00
javascript Merge branch 'main' into simpler-item-previews 2024-07-09 14:26:47 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Disable pet faces that the item doesn't fit, in new item previews 2024-09-03 16:42:04 -07:00
services Load *all* NC Mall pages in nc_mall:sync 2024-05-10 17:39:40 -07:00
views Fix species face picker going inert again after Turbo frame load 2024-09-03 17:07:53 -07:00