Welcome to IOPWiki, Commander.
With the release of the Global Beta, we encourage contributions to topics related to Girls' Frontline 2. Learn how to contribute and join our Discord server to discuss major changes.

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
m Small fix for index group header
m Bugfix
Line 227: Line 227:
   var nextElementTen = Math.ceil(parseInt(nextElement.data('index')) / 10) * 10;
   var nextElementTen = Math.ceil(parseInt(nextElement.data('index')) / 10) * 10;
   if (currentTen !== nextElementTen) {
   if (currentTen !== nextElementTen) {
    var groupHeaderText = getNumberText(currentTen) + "..." + getNumberText(nextElementTen);
     if (!isNaN(nextElementTen)) {
     if (!isNaN(nextElementTen)) {
       if (sortOrder == -1) {  
       if (sortOrder == -1) {  
Line 233: Line 232:
         nextElementTen -= 9;
         nextElementTen -= 9;
       }
       }
     
      var groupHeaderText = getNumberText(currentTen) + "..." + getNumberText(nextElementTen);
        
        
       var groupHeader = $("<h3 />").text(groupHeaderText).addClass("addedbysorter");
       var groupHeader = $("<h3 />").text(groupHeaderText).addClass("addedbysorter");

Revision as of 19:17, 1 May 2018


 

Released on this server:

Some heading