MediaWiki:Common.js: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 182: Line 182:
    var citeIDNum = $(obj).attr('id').slice(29); //get number at end of ID
    var citeIDNum = $(obj).attr('id').slice(29); //get number at end of ID
    var toggle = $(".mw-customtoggle-citation" + citeIDNum);
    var toggle = $(".mw-customtoggle-citation" + citeIDNum);
$(toggle).attr("title","Expand " + $(toggle).attr("title").slice(16));
$(toggle).attr("title","Expand " + $(toggle).attr("title").slice(15));
});
});
});  
});  
Cookies help us deliver our services. By using our services, you agree to our use of cookies.