User:Sid the Kpop fan/common.js

// Randomize wiki logo: http://community.wikia.com/wiki/Thread:578801 /* $(function {   var images = [		'https://images.wikia.nocookie.net/powerpuff/images/8/89/Wiki-wordmark.png',		'https://images.wikia.nocookie.net/powerpuff/images/a/a3/Wiki-wordmark_reboot.png',	];	$('.fandom-community-header__image img').attr('src', images[Math.floor(Math.random * images.length)]); }); //Add border color to infoboxes $('.portable-infobox').each(function {    var cls = $(this).attr('class').match(/type-_(\S+)/);    if (cls) {        $(this).css('border', '1px solid #' + cls[1]);    } });