mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	fix file preview in note revisions dialog
This commit is contained in:
		
							parent
							
								
									18cc9f2475
								
							
						
					
					
						commit
						a1ec6fe0aa
					
				| @ -157,8 +157,8 @@ async function setContentPane() { | ||||
| 
 | ||||
|         if (fullNoteRevision.content) { | ||||
|             $table.append($("<tr>").append( | ||||
|                 $("<th>").text("Preview:"), | ||||
|                 $("<td>").append( | ||||
|                 $('<td colspan="2">').append( | ||||
|                     $('<div style="font-weight: bold;">').text("Preview:"), | ||||
|                     $('<pre class="file-preview-content"></pre>') | ||||
|                         .text(fullNoteRevision.content) | ||||
|                 ) | ||||
| @ -196,4 +196,4 @@ $list.on('focus', '.dropdown-item', e => { | ||||
|     }); | ||||
| 
 | ||||
|     setContentPane(); | ||||
| }); | ||||
| }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam