User:Bongolium500/common.js

window.CollapsiblePageToolsCollapsed = false;

$(document).ready(function{	$('.inline-citation-extra').each(function(i, obj) { $(obj).attr("aria-hidden","true"); var citeID = $(obj).attr('id').slice(-1); alert($(obj).attr('id')) $(".mw-customtoggle-citation" + citeID).attr("aria-controls",$(obj).attr('id')); }); }); $(".inline-citation-extra").on("afterExpand.mw-collapsible", function {	$(this).attr("aria-hidden","false");	var citeID = $(this).attr('id').slice(-1);	$(".mw-customtoggle-citation" + citeID).attr("aria-expanded","true"); }); $(".inline-citation-extra").on("afterCollapse.mw-collapsible", function {	$(this).attr("aria-hidden","true");	var citeID = $(this).attr('id').slice(-1);	$(".mw-customtoggle-citation" + citeID).attr("aria-expanded","false"); });