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
m It was a typo in function keyword...
Debug Log
Line 7: Line 7:
    
    
   var statContainer = selectBox.closest('.stattable');
   var statContainer = selectBox.closest('.stattable');
 
  console.log(element);
  console.log(selectedValue);
    
    
   for (var key in tdollData) {
   for (var key in tdollData) {
     if (tdollData.hasOwnProperty(key)) {
     if (tdollData.hasOwnProperty(key)) {
       statContainer.find('*[data-tdoll-stat-id="' + key + '"]').text(tdollData[key]);
       var valField = statContainer.find('*[data-tdoll-stat-id="' + key + '"]');
      var newValue = tdollData[key];
      console.log(valField, newValue);
      valField.text(newValue);
     }
     }
   }
   }

Revision as of 13:35, 30 January 2018


test