From 6cae68288d9f7495b51d25f33c6bd16c10f03ea6 Mon Sep 17 00:00:00 2001 From: Tom <7283497+thfrei@users.noreply.github.com> Date: Mon, 9 May 2022 15:15:07 +0200 Subject: [PATCH] adhere to convention, prefixing jquery objects with $ and dom not --- src/public/app/dialogs/note_revisions.js | 4 ++-- src/public/app/widgets/type_widgets/canvas_note.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/public/app/dialogs/note_revisions.js b/src/public/app/dialogs/note_revisions.js index 647b760ac..c0333b525 100644 --- a/src/public/app/dialogs/note_revisions.js +++ b/src/public/app/dialogs/note_revisions.js @@ -187,8 +187,8 @@ async function setContentPane() { * maxWidth: 100% use full width of container but do not enlarge! * height:auto to ensure that height scales with width */ - const svgHtml = $(svg).css({maxWidth: "100%", height: "auto"}); - $content.html($('