mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	db setup fixes
This commit is contained in:
		@@ -256,6 +256,10 @@ function openDialog($dialog) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function isHtmlEmpty(html) {
 | 
			
		||||
    if (!html) {
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    html = html.toLowerCase();
 | 
			
		||||
 | 
			
		||||
    return $("<div>").html(html).text().trim().length === 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user