helialprofile.png
Welcome to IOPWiki, Commander.
We are lacking editors focused on Girls' Frontline and Girls' Frontline 2. You can contribute without an account. Learn how to contribute and join our Discord server.

Difference between revisions of "Widget:StatTable"

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 (Removed debugging lines)
(Added document-ready wait functionality as the MediaWiki does not wait for DOM)
 
(12 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
         // As we change the link, we have to update the Thumb-Cache of the Media Viewer
 
         // As we change the link, we have to update the Thumb-Cache of the Media Viewer
 
         // Clear up the thumbs cache
 
         // Clear up the thumbs cache
         mw.mmv.bootstrap.thumbs = [];
+
         if (mv && mv.mmv && mv.mmv.bootstrap && mv.mmv.bootstrap.viewer) {
        // Search for all thumbs
+
          mw.mmv.bootstrap.thumbs = [];
        mw.mmv.bootstrap.processThumbs($("#content"));
+
          // Search for all thumbs
        // Re-Init the viewer with the new thumbs
+
          mw.mmv.bootstrap.processThumbs($("#content"));
        mw.mmv.bootstrap.viewer.initWithThumbs(mw.mmv.bootstrap.thumbs);
+
          // Re-Init the viewer with the new thumbs
 +
          mw.mmv.bootstrap.viewer.initWithThumbs(mw.mmv.bootstrap.thumbs);
 +
        }
 
}
 
}
  
RLQ.push(function () {
+
RLQ.push(['jquery', function () {
  $(document).ready(function() {
+
  $(document).ready(function() {
 
if (document.getElementById("stat_table")) {
 
if (document.getElementById("stat_table")) {
 
         st_element = document.getElementById("stat_table");
 
         st_element = document.getElementById("stat_table");
Line 26: Line 28:
 
}
 
}
 
swap_costume();
 
swap_costume();
  });
+
  });
});
+
}]);
  
 
</script>
 
</script>

Latest revision as of 15:10, 14 October 2019


test

Springfield.png
Springfield chibi.png