impress/app/assets/javascripts
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
..
closet_hangers Disallow email addresses in Neopets usernames 2025-06-22 11:16:26 -07:00
closet_lists Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
fundraising/donations Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
items [WV2] Extract species-color-picker component 2025-11-02 08:19:16 +00:00
outfits [WV2] Move to a new WardrobeController 2025-11-11 17:21:03 -08:00
pet_states Add magnification when editing pet appearance 2024-12-07 11:39:37 -08:00
pets Remove ajax_auth.js lib, by merging it in where needed 2024-09-20 19:10:26 -07:00
swf_assets Fix HTML5 rendering differences in us vs Neopets 2026-01-19 11:00:59 -08:00
wardrobe [WV2] Move to a new WardrobeController 2025-11-11 17:21:03 -08:00
magic-magnifier.js Oops, fix showing the magic magnifier in Firefox 2024-12-28 16:08:28 -08:00
outfit-viewer.js [WV2] Fix syncing for play/pause state across page morphs 2026-02-05 19:15:09 -08:00
pose-picker.js [WV2] Scroll selected alt style into view 2026-02-05 18:17:34 -08:00
species-color-picker.js [WV2] Extract species-color-picker component 2025-11-02 08:19:16 +00:00
tab-panel.js [WV2] Add alt style picker 2026-02-05 18:04:49 -08:00