From a225c498ec2551961a52078515b8fb07f4004ce1 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Thu, 18 Feb 2021 14:35:26 +0200 Subject: [PATCH] Get rid of image natural dimensions --- chrome/content/zotero/xpcom/editorInstance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/editorInstance.js b/chrome/content/zotero/xpcom/editorInstance.js index 233eb8b88f..dcb60b9110 100644 --- a/chrome/content/zotero/xpcom/editorInstance.js +++ b/chrome/content/zotero/xpcom/editorInstance.js @@ -228,7 +228,7 @@ class EditorInstance { const PDFJS_DEFAULT_SCALE = 1.25; let width = Math.round(rectWidth * CSS_UNITS * PDFJS_DEFAULT_SCALE); let height = Math.round(rectHeight * width / rectWidth); - imageHTML = ``; + imageHTML = ``; } // Text