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 Some layouting
Added name switching when switching servers
Line 274: Line 274:
    
    
   $('.card-bg-small.unreleased').removeClass('unreleased');
   $('.card-bg-small.unreleased').removeClass('unreleased');
   $('.card-bg-small').not("[data-server-" + activeServer + "]").addClass('unreleased');
   $('.card-bg-small').each(function() {
    var element = $(this);
    var nameToSet = "";
    if (element.is("[data-server-" + activeServer + "]")) {
      nameToSet = element.attr('data-server-' + activeServer);
    } else {
      element.addClass('unreleased');
      nameToSet = element.attr('data-server-wiki');
    }
    element.find('span').first().text(nameToSet);
  });
    
    
   $(butt).addClass("enabled");
   $(butt).addClass("enabled");

Revision as of 15:06, 7 October 2018


 

Released on this server:

Some heading