MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1,445: | Line 1,445: | ||
$(function () { | $(function () { | ||
$('.ekatra-author').each(function () { | $('.ekatra-author').next('p').each(function () { | ||
$(this). | if ( | ||
$(this).children('br').length && | |||
$.trim($(this).text()) === '' | |||
) { | |||
$(this).remove(); | |||
} | |||
} | |||
}); | }); | ||
}); | }); | ||