MediaWiki:Gadget-checkboxList.js: Difference between revisions

From Heavenly Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
mw.loader.using(['jquery.ui'], function() {
mw.loader.using(['jquery.ui'], function() {
     $(function() {
     $(function () {
         if ($("ul.checklist, div.checklist > ul").length) {
         if ($("ul.checklist, div.checklist > ul").length) {
             mw.loader.load('ext.gadget.checkboxList-core');
             mw.loader.load('ext.gadget.checkboxList-core');

Latest revision as of 22:12, 2 May 2025

mw.loader.using(['jquery.ui'], function() {
    $(function () {
        if ($("ul.checklist, div.checklist > ul").length) {
            mw.loader.load('ext.gadget.checkboxList-core');
        }
    });
});