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
First try finding out the right path
m Removed logging
Line 28: Line 28:
         var fullartSPath = basePath + createPathPart(costumeId +"_S.png") + costumeId +"_S.png";
         var fullartSPath = basePath + createPathPart(costumeId +"_S.png") + costumeId +"_S.png";
         var chibiPath = basePath + createPathPart(costumeId +"_chibi.png") + costumeId +"_chibi.png";
         var chibiPath = basePath + createPathPart(costumeId +"_chibi.png") + costumeId +"_chibi.png";
        console.log(fullartPath);
        console.log(fullartDamagedPath);
        console.log(fullartSPath);
        console.log(chibiPath);


         $("#fullart a").attr("href", fullartPath );
         $("#fullart a").attr("href", fullartPath );
Line 48: Line 43:


         $(".tdoll_chibi img").attr("src", chibiPath);
         $(".tdoll_chibi img").attr("src", chibiPath);
          
          
         // As we change the link, we have to update the Thumb-Cache of the Media Viewer
         // As we change the link, we have to update the Thumb-Cache of the Media Viewer

Revision as of 23:28, 7 January 2018


test