formatting
This commit is contained in:
parent
0cdcc9f02b
commit
8104f7b00c
@ -47,8 +47,8 @@ function reorganize_html() {
|
||||
htitle + '"></div></div>');
|
||||
$header.prependTo($header.prev());
|
||||
});
|
||||
$('.outline-text-' + htitle).each(function(){
|
||||
if(isEmpty($(this))) {
|
||||
$('.outline-text-' + htitle).each(function() {
|
||||
if (isEmpty($(this))) {
|
||||
$(this).remove();
|
||||
}
|
||||
});
|
||||
@ -91,6 +91,6 @@ function create_theme_switcher() {
|
||||
});
|
||||
}
|
||||
|
||||
function isEmpty( el ){
|
||||
function isEmpty(el) {
|
||||
return !$.trim(el.html())
|
||||
}
|
||||
|
Reference in New Issue
Block a user