mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	add the ability to sort notes by folders first, closes #2649
This commit is contained in:
		@@ -76,8 +76,6 @@ function findHeadingElementByIndex(parent, headingIndex) {
 | 
			
		||||
        // heading level. If a heading node is found, decrement the headingIndex
 | 
			
		||||
        // until zero is reached
 | 
			
		||||
 | 
			
		||||
        console.log(child.tagName, headingIndex);
 | 
			
		||||
 | 
			
		||||
        if (child.tagName.match(/H\d+/i) !== null) {
 | 
			
		||||
            if (headingIndex === 0) {
 | 
			
		||||
                headingElement = child;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user