Welcome to IOPWiki, Commander.
We are searching for editors to complete gameplay topics in all games. You can contribute without an account. Learn how to contribute 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
Removed initial swap call
m Dfiferent approach to reload the T-Doll
Line 1: Line 1:
<includeonly><script>
<includeonly><script>
function swap_costume() {
function swap_costume() {
        var tdollId = mw.config.get("wgPageName");
         costumeSelectionPathsString = document.getElementById("costumeSelection").value;
         costumeSelectionPathsString = document.getElementById("costumeSelection").value;
         costumeSelectionIndex = document.getElementById("costumeSelection").selectedIndex;
         costumeSelectionIndex = document.getElementById("costumeSelection").selectedIndex;
         if (costumeSelectionIndex == 0)
       
           reInitGirl("");
        var chibiCostumeName = "";
         else
         if (costumeSelectionIndex != 0) {
          reInitGirl("_costume" + costumeSelectionIndex);
           chibiCostumeName = "_costume" + costumeSelectionIndex
 
        }
          
        loadGirl(baseView, tdollId, chibiCostumeName );


         costumePaths = costumeSelectionPathsString.split(",,");
         costumePaths = costumeSelectionPathsString.split(",,");

Revision as of 13:53, 7 January 2018


test