mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
chore(client): remove logs
This commit is contained in:
parent
11631687ff
commit
42e4c7800a
@ -35,7 +35,6 @@ async function getRenderedContent(this: {} | { ctx: string }, entity: FNote, opt
|
||||
// attachment supports only image and file/pdf/audio/video
|
||||
|
||||
const $renderedContent = $('<div class="rendered-content">');
|
||||
console.log(type);
|
||||
|
||||
if (type === 'text') {
|
||||
await renderText(entity, $renderedContent);
|
||||
@ -289,7 +288,6 @@ function getRenderingType(entity: FNote | FAttachment) {
|
||||
}
|
||||
|
||||
const mime = ("mime" in entity && entity.mime);
|
||||
console.log("MIME ", mime);
|
||||
|
||||
if (type === 'file' && mime === 'application/pdf') {
|
||||
type = 'pdf';
|
||||
|
Loading…
x
Reference in New Issue
Block a user