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