mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix note preview, closes #1869
This commit is contained in:
		| @@ -39,7 +39,7 @@ async function getRenderedContent(note, options = {}) { | |||||||
|                 .css("max-width", "100%") |                 .css("max-width", "100%") | ||||||
|         ); |         ); | ||||||
|     } |     } | ||||||
|     else if (!options.tooltip && ['file', 'pdf', 'audio', 'video']) { |     else if (!options.tooltip && ['file', 'pdf', 'audio', 'video'].includes(type)) { | ||||||
|         const $downloadButton = $('<button class="file-download btn btn-primary" type="button">Download</button>'); |         const $downloadButton = $('<button class="file-download btn btn-primary" type="button">Download</button>'); | ||||||
|         const $openButton = $('<button class="file-open btn btn-primary" type="button">Open</button>'); |         const $openButton = $('<button class="file-open btn btn-primary" type="button">Open</button>'); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user