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
Different approach
Two different approachs?
Line 297: Line 297:
     // All elements inside the paragraph after the h2 which have special class
     // All elements inside the paragraph after the h2 which have special class
     var elements = parent.next().children().nextUntil("h2", ".card-bg-small");
     var elements = parent.next().children().nextUntil("h2", ".card-bg-small");
    // Or the old way...
    if (elements.length == 0) elements = parent.nextUntil("h2", ".card-bg-small");
    
    
     elements.detach().sort(comparer);
     elements.detach().sort(comparer);

Revision as of 03:14, 10 November 2019


 

Released on this server:

Some heading