mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	fixed wrong cherry pick
This commit is contained in:
		
							parent
							
								
									1c34f73f61
								
							
						
					
					
						commit
						8240a208dd
					
				@ -137,15 +137,6 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
 | 
			
		||||
 | 
			
		||||
            this.child(typeWidget);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this.checkFullHeight();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    checkFullHeight() {
 | 
			
		||||
        // https://github.com/zadam/trilium/issues/2522
 | 
			
		||||
        this.$widget.toggleClass("full-height",
 | 
			
		||||
            !this.noteContext.hasNoteList()
 | 
			
		||||
            && ['editable-text', 'editable-code'].includes(this.type));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    getTypeWidget() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user