No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
document.getElementsByTagName('body')[0].onload = | document.getElementsByTagName('body')[0].onload = function() { | ||
function | |||
if (document.getElementById('musicPlayerAllow') !== null) { | if (document.getElementById('musicPlayerAllow') !== null) { | ||
var rail = document.getElementById('WikiaRail'); | var rail = document.getElementById('WikiaRail'); | ||
| Line 11: | Line 9: | ||
rail.appendChild(node); | rail.appendChild(node); | ||
} | } | ||
} | }; | ||
Revision as of 10:09, 10 June 2020
document.getElementsByTagName('body')[0].onload = function() {
if (document.getElementById('musicPlayerAllow') !== null) {
var rail = document.getElementById('WikiaRail');
var node = document.createElement("div");
var textnode = document.createTextNode("Loading iframe...");
node.appendChild(textnode);
node.classList.add("EmulatorFrame");
//node.style.display = "none";
rail.appendChild(node);
}
};