Remove widon't code
This commit is contained in:
@@ -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*$/,' $1'));
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($('#minibutton-new-page').length) {
|
if ($('#minibutton-new-page').length) {
|
||||||
$('#minibutton-new-page').removeClass('jaws');
|
$('#minibutton-new-page').removeClass('jaws');
|
||||||
$('#minibutton-new-page').click(function(e) {
|
$('#minibutton-new-page').click(function(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user