diff --git a/plugins/attachment-resources/src/components/AttachmentPresenter.svelte b/plugins/attachment-resources/src/components/AttachmentPresenter.svelte index f5f7203a45..5392f1181e 100644 --- a/plugins/attachment-resources/src/components/AttachmentPresenter.svelte +++ b/plugins/attachment-resources/src/components/AttachmentPresenter.svelte @@ -39,11 +39,7 @@ return contentType.startsWith('image/') } function openEmbedded (contentType: string) { - return ( - contentType.includes('application/pdf') || - contentType.startsWith('image/') || - contentType.startsWith('application/msword') - ) + return contentType.includes('application/pdf') || contentType.startsWith('image/') } function clickHandler (e: MouseEvent) {