Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
m https instead of http |
Added document-ready wait functionality as the MediaWiki does not wait for DOM |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><script> | <includeonly><script> | ||
RLQ.push(function () { | RLQ.push(['jquery', function () { | ||
$(document).ready(function() { | $(document).ready(function() { | ||
// Let's make sure the correct values are shown | // Let's make sure the correct values are shown | ||
$('.modswitcher').change(); | $('.modswitcher').change(); | ||
}); | }); | ||
}); | }]); | ||
function swap_mod(element) { | function swap_mod(element) { |