Widget:chibiCostumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Removed the logging. Let's test this on the template |
New approach for async loading |
||
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 | ||
$('.chibi-costume-switcher').change(); | $('.chibi-costume-switcher').change(); | ||
}); | }); | ||
}); | }]); | ||
function swap_costume(element, targetId) { | function swap_costume(element, targetId) { |
Revision as of 14:36, 23 June 2019