Remove widon't code

This commit is contained in:
eston
2011-01-18 22:58:44 -08:00
parent cc85879810
commit 049d9d6d1f
@@ -15,15 +15,6 @@ $(document).ready(function() {
}
}
// no widows in wiki body
if ($('#wiki-wrapper').hasClass('page')) {
$('#template h1, #template h2, #template h3, #template h4, #template h5, #template h6, #template li, #template p').each(
function(){
$(this).html($(this).html().replace(/\s([^\s<]+)\s*$/,'&nbsp;$1'));
}
);
}
if ($('#minibutton-new-page').length) {
$('#minibutton-new-page').removeClass('jaws');
$('#minibutton-new-page').click(function(e) {