Welcome to IOPWiki, Commander.
We are searching for new editors to keep track of Girls' Frontline 2 content, as well as veteran players to complete existing Girls' Frontline and Project Neural Cloud articles.
You can contribute without an account. Learn how to contribute and join our Discord server.

Widget:indexSorterGrouper: 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
Just testing stuff
m Small fix and remove of logging
Line 8: Line 8:
  var index = parseInt(element.find('.index').last().text());
  var index = parseInt(element.find('.index').last().text());
  var srcStr = element.find("img.rarity-class").attr("src");
  var srcStr = element.find("img.rarity-class").attr("src");
console.log(element, element.find("img.rarity-class"), srcStr);
  var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g;
  var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g;
  var match = myRegexp.exec(srcStr);
  var match = myRegexp.exec(srcStr);
Line 284: Line 283:
       nameToSet = element.attr('data-server-wiki');
       nameToSet = element.attr('data-server-wiki');
     }
     }
     element.find('name').first().text(nameToSet);
     element.find('.name').first().text(nameToSet);
   });
   });
    
    

Revision as of 02:54, 10 November 2019


 

Released on this server:

Some heading