1
0
Fork 0
forked from OpenNeo/impress
impress/app
Emi Matchu 56d550e86c Skip loading alt styles on item preview page
Ah yeah, if you're not on the wardrobe page (so we don't need the Alt
Styles UI), and the outfit's `altStyleId` is null (as is the case for
the item preview page), then there's no need to load the alt styles for
that species.

So before this change, going to `/items/123` would include an XHR
request to `/species/<id>/alt-styles.json`, which would not be used for
anything. After this change, that request is no longer sent. Hooray!
2024-02-24 17:23:57 -08:00
..
assets Oops, fix regression of editor features on item lists page 2024-02-22 15:52:40 -08:00
controllers Read known_glitches when loading alt styles SWF assets 2024-02-24 16:31:05 -08:00
helpers Refactor Impress 2020 config 2024-02-22 13:07:43 -08:00
javascript Skip loading alt styles on item preview page 2024-02-24 17:23:57 -08:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Remove SwfAsset#html5_*_url in favor of SwfAsset#urls 2024-02-24 16:29:47 -08:00
services Preload many manifests concurrently for the Alt Styles page 2024-02-23 13:45:12 -08:00
views High-level caching for closet lists 2024-02-20 18:43:39 -08:00