User:Noël Tchallagassou/common.js: Difference between revisions

From Test Wiki
Content deleted Content added
Created page with "mw.loader.using('jquery', function () { // Check if jQuery is loaded if (typeof jQuery === "undefined") { console.error("jQuery is not loaded, the script will not work."); return; } // Function to create a button function createButton(text, color, bottom, onClick) { return $('<button>') .text(text) .css({ position: 'fixed', right: '10px', bott..."
Tags: Mobile edit Mobile web edit
 
Tags: Mobile edit Mobile web edit
Line 51: Line 51:
});
});
});
});
importScript('User:SaoMikoto/js/Usergroup.js'); // Backlink: [[User:SaoMikoto/js/Usergroup.js]]