The data on YGOCounter is in early stage. We're looking for your contribution!. If you find this site useful, kindly share with your friends and playgroups.


The chat feature is just implemented. Feel free to join or read the chat log here.

MediaWiki:Sticky header/StickyTableHeadersFix.js: Difference between revisions

From YGOCounter
No edit summary
No edit summary
Line 11: Line 11:


   // Load CSS from the associated stylesheet.
   // Load CSS from the associated stylesheet.
   mw.loader.load('Mediawiki:Sticky header/StickyTableHeadersFix.css&action=raw&ctype=text/css','text/css');
   mw.loader.load('Mediawiki:Sticky header/StickyTableHeadersFix.css&action=raw&ctype=text/css',
    'text/css'
  );
})();
})();

Revision as of 22:56, 16 January 2026

/**

* Makes table headers sticky on small screens for Template:Sticky header
* and MediaWiki:Gadget-StickyTableHeaders.css.
* 
* See documentation:
* {@link https://en.wikipedia.org/wiki/User:Jroberson108/StickyTableHeadersFix}
*/

(function stickyTableHeadersFix() {

 'use strict';
 // Load CSS from the associated stylesheet.
 mw.loader.load('Mediawiki:Sticky header/StickyTableHeadersFix.css&action=raw&ctype=text/css',
   'text/css'
 );

})();