impress/app/views
Emi Matchu 5e68d3809c [WV2] Fix syncing for play/pause state across page morphs
Reproduce:
1. Add an item with animations, and play them.
2. Remove the item.
3. Add it back.
4. Observe the button shows up in "Paused" state, even though it's playing.

This is because the server-side template wasn't doing anything to try to keep the play/pause button it renders in sync with the current saved state in the cookies, so it was always causing a morph to the pause state. Now we listen to the cookie instead!

I also updated the JS behavior to be a bit more consistent: treat the behavior as defaulting to true, unless it's explicitly set to the string "false".
2026-02-05 19:15:09 -08:00
..
about Remove "About NeoPass" page, now that it's on the blog 2024-09-20 18:43:38 -07:00
alt_styles Add support summary UI to alt styles page 2025-11-02 06:12:36 +00:00
application [WV2] Custom play/pause animations button 2026-01-03 10:44:10 -08:00
auth_users Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
closet_hangers Add Support form for users, with shadowban option 2025-02-16 09:32:52 -08:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
contributions Remove old record_tag_helper gem 2024-09-26 12:50:47 -07:00
devise Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
fundraising Serve jquery and jquery.tmpl from our own codebase, instead of a CDN 2024-09-20 19:23:53 -07:00
item_trades Hide shadowbanned users from trade lists for most viewers 2025-06-22 11:35:27 -07:00
items Merge branch 'main' into feature/wardrobe-v2 2026-01-20 18:53:21 -08:00
layouts Add homepage link to Rainbow Pool, and move Modeling Hub to footer 2024-10-11 15:27:36 -07:00
neopets_page_import_tasks Remove some silly view template caching calls 2024-09-20 18:08:11 -07:00
outfits [WV2] Move to a new WardrobeController 2025-11-11 17:21:03 -08:00
pet_states Use CSS instead of server requests for image format in pet styles form 2025-01-02 19:04:48 -08:00
pet_types Add no results message for alt style searches 2024-12-29 15:47:12 -08:00
pets Serve jquery and jquery.tmpl from our own codebase, instead of a CDN 2024-09-20 19:23:53 -07:00
sitemap Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
swf_assets Move JS libraries to vendor/javascript 2024-09-13 21:16:46 -07:00
users Add Support form for users, with shadowban option 2025-02-16 09:32:52 -08:00
wardrobe [WV2] Fix syncing for play/pause state across page morphs 2026-02-05 19:15:09 -08:00