From 484526c3e0e33356a9f2b062e17db9b6ecb59480 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 12 Dec 2024 16:48:01 +0100 Subject: [PATCH] sync --- package.json | 2 +- src/component/joda-content-element.ts | 2 +- src/helper/functions.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 72cc66d..8091c89 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@leuffen/jodastyle", - "version": "3.2.2", + "version": "3.2.3", "description": "", "main": "./dist/index.js", "module": "./dist/index.module.js", diff --git a/src/component/joda-content-element.ts b/src/component/joda-content-element.ts index 54ebecc..dd7410b 100755 --- a/src/component/joda-content-element.ts +++ b/src/component/joda-content-element.ts @@ -63,7 +63,7 @@ export class JodaContentElement extends HTMLElement { // urldecode hash hash = decodeURIComponent(hash); const element = document.getElementById(hash); - console.log("Scrolling to", window.location.hash, element); + //console.log("Scrolling to", window.location.hash, element); if (element) { element.scrollIntoView({behavior: "smooth"}); } diff --git a/src/helper/functions.ts b/src/helper/functions.ts index 0d3c602..19d5fc8 100755 --- a/src/helper/functions.ts +++ b/src/helper/functions.ts @@ -213,7 +213,7 @@ export async function getTemplateFilledWithContent(templateSelector : string, co }, content); let clone = document.createRange().createContextualFragment(templateHtml); - console.log(templateSelector, "Content: ", content.innerHTML); + //console.log(templateSelector, "Content: ", content.innerHTML); let done = []; clone.querySelectorAll("slot[data-select][data-copy]").forEach((slot) => {