1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/stylesheets/items
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
..
_index.sass phew. rails 3.2.12, including some asset pipeline. still buggy. 2013-03-05 20:08:57 -06:00
_show.sass Fix species face picker going inert again after Turbo frame load 2024-09-03 17:07:53 -07:00
sources.sass Don't color PB shop/trade buttons purple in Item Getting Guide 2024-06-20 14:20:06 -07:00