From 245651fcb57fe35b4da7da320921c3e40da763f6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 11 Mar 2025 03:58:22 +0000 Subject: [PATCH] more bug fixes --- UI/Component/Tab.js | 1 + Utils/Parser/Markdown.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/Component/Tab.js b/UI/Component/Tab.js index 716bc61..7670f17 100755 --- a/UI/Component/Tab.js +++ b/UI/Component/Tab.js @@ -70,6 +70,7 @@ export class Tab for (let i = 0; i < length; ++i) { nodes[i].addEventListener('click', function (evt) { + this.querySelector('label').click(); let fragmentString = this.querySelector('label').getAttribute('for'); /* Change Tab */ diff --git a/Utils/Parser/Markdown.js b/Utils/Parser/Markdown.js index d319cb9..0713947 100755 --- a/Utils/Parser/Markdown.js +++ b/Utils/Parser/Markdown.js @@ -3135,7 +3135,7 @@ text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals); var doctype = 'html', - doctypeParsed = '\n', + doctypeParsed = '\n', title = '', charset = '\n', lang = '',