User:Super Miron/common.js

function appendBanReasons{ setTimeout(function{		$('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset').append(' Swearing Violation of Privacy Policy/COPPA 3 kicks ');		$('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset div #chatbanreason-swearing').click(function{ $('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset input[name="reason"]').attr("value","Swearing"); });		$('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset div #chatbanreason-coppa').click(function{ $('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset input[name="reason"]').attr("value","Violation of Privacy Policy/COPPA"); });		$('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset div #chatbanreason-3kicks').click(function{ $('.modalWrapper#ChatBanModal .modalContent .WikiaForm fieldset input[name="reason"]').attr("value","3 kicks"); });	},1000); } $('#contentSub a.chat-change-ban').click(function{	appendBanReasons; }); $('body.ChatWindow #UserStatsMenu .actions .admin-actions .ban').click(function{	appendBanReasons; });