Difference between revisions of "Widget:indexSorterGrouper"

From Girls' Frontline Wiki
Jump to navigation Jump to search
(Switched to new syntax)
(Added document-ready wait functionality as the MediaWiki does not wait for DOM)
Line 1: Line 1:
 
<includeonly><script>
 
<includeonly><script>
 
RLQ.push(['jquery', function () {
 
RLQ.push(['jquery', function () {
 +
  $(document).ready(function() {
 
     // For now, we have to make sure the data is there (Change the template, dammit!)
 
     // For now, we have to make sure the data is there (Change the template, dammit!)
 
$(".card-bg-small").each(function() {
 
$(".card-bg-small").each(function() {
Line 34: Line 35:
 
     $(".gf-button").prop('disabled', false);
 
     $(".gf-button").prop('disabled', false);
 
     $('.removeAfterInitIsg').remove();
 
     $('.removeAfterInitIsg').remove();
 +
  });
 
}]);
 
}]);
  

Revision as of 14:58, 14 October 2019


 

Released on this server:

Some heading