Widget:Live2DSwitcher: Difference between revisions

mNo edit summary
Changed to new pattern
Line 1: Line 1:
<includeonly><div><script>
<includeonly><div><script>
RLQ.push(function () {
RLQ.push(['jquery', function () {
  $(document).ready(function() {
     var containers = $('.dollLive2d');
     var containers = $('.dollLive2d');
     if (containers.length < 1) return;
     if (containers.length < 1) return;
Line 32: Line 31:
       });
       });
     });
     });
  });
}]);
});


function swap_model(element) {
function swap_model(element) {