User:Emptylord/common.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MultiUpload/code.js',    ] });

/* Skinviewer: loading fix */ $(window).load(function {   $('.lazyimg-wrapper img').trigger("onload"); }); /* Skinviewer: Skinselektor onclick (Vorlage:Champion_info/Skins) */ $(document).on("click", "span.show", function {    $(".content-wrapper > div").hide;    $('#item-' + this.id).fadeIn;    $('.lazyimg-wrapper img').trigger("onload");    $(window).scroll; //backup lazyimg fix });

/* Skinviewer: loading fix */ $("#articleCategories").load(function{   var LoR = false    var LoL = false    var TFT = false    var WR = false    if(document.getElementById("articleCategories").innerHTML.indexOf("Legends of Runeterra")!==-1){LoR = true}    if(LoL === true){    }else if(LoR === true){        $('.wds-community-header').css('background-image', 'url(https://vignette.wikia.nocookie.net/leagueoflegends/images/3/34/Legends_of_Runeterra_banner.png/revision/latest?cb=20191103220415&format=original)')    }else if(TFT === true){    }else if(WR === true){    } });