forked from OpenNeo/impress
Emi Matchu
56d550e86c
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! |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
javascript | ||
mailers/fundraising | ||
models | ||
services | ||
views |