Changes

Jump to navigation Jump to search

MediaWiki:Gadget-live2dBackgroundAnimation.js

39 bytes added, 15:09, 14 October 2019
Added document-ready wait functionality as the MediaWiki does not wait for DOM
RLQ.push(['jquery', function () {
$(document).ready(function() {
var containerDiv = $('.backgroundLive2d');
console.log("Booting up L2D BG Gadget. Container count: ", containerDiv.length);
initBackgroundEngine($(this));
});
});
}]);
console.log("Loaded L2D BG Gadget.");

Navigation menu