We need TW players to complete the article of the region-locked game Fingertips Breakout.
We're aware of an issue which causes comments to only appear after a long delay and are working on a solution.
You don't need an account to add and correct this Wiki. Learn how to contribute, browse Bounties and join our Discord server.

Widget:costumeSwitcher: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Pianoforte (talk | contribs)
No edit summary
Setting the dorm spritemap for the selected option of the costume
Line 22: Line 22:
         var chibiCostumeName = "";
         var chibiCostumeName = "";
         if (costumeSelectionIndex != 0) {
         if (costumeSelectionIndex != 0) {
           chibiCostumeName = "_costume" + costumeSelectionIndex
           chibiCostumeName = "_costume" + costumeSelectionIndex;
         }
         }
        var selectedOption = selectBox.find(':selected');
        selectBox.closest('.costumeContainer').find('.tdoll_chibi').attr('data-tdoll-use-dorm-spritemap', selectedOption.attr('data-tdoll-use-dorm-spritemap')=="true");


         selectBox.closest('.costumeContainer').find('.chibiAnimation,.live2dAnimation,.artTab').trigger("costume_changed", chibiCostumeName);
         selectBox.closest('.costumeContainer').find('.chibiAnimation,.live2dAnimation,.artTab').trigger("costume_changed", chibiCostumeName);

Revision as of 14:29, 21 January 2018


test