1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/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
..
_item.html.haml Move item_link partial caching to a helper rather than the template itself 2013-06-22 16:31:46 -07:00
_item_header.html.haml Remove SSW link, does not work on neopets anymore 2024-08-30 01:46:59 -04:00
_item_link.html.haml Use table layout for Item Getting Guide item list 2024-05-20 15:23:34 -07:00
_item_list_row.html.haml Flag items you already own in the Item Getting Guide 2024-06-15 15:47:52 -07:00
_outfit_viewer.html.haml Restyle play/pause button for new item page preview 2024-07-08 17:23:38 -07:00
index.html.haml Remove newest_items caching from items page 2023-10-23 19:05:04 -07:00
needed.html.haml Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
show.html.haml Fix species face picker going inert again after Turbo frame load 2024-09-03 17:07:53 -07:00
sources.html.haml Link to the NC Mall homepage from the Shopping List 2024-07-09 13:30:28 -07:00