MediaWiki:Gadget-checkboxList.js

From Old School Near-Reality Wiki
Revision as of 18:00, 3 October 2022 by Jacmob (talk | contribs) (Created page with "// <nowiki> $(function () { if ($("ul.checklist, div.checklist > ul").length) { mw.loader.load( 'ext.gadget.checkboxList-core' ); } }) // </nowiki>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
1 // <nowiki>
2 $(function () {
3 	if ($("ul.checklist, div.checklist > ul").length) {
4 		mw.loader.load( 'ext.gadget.checkboxList-core' );
5 	}
6 })
7 // </nowiki>