From 442e8240cd2122de8baf490e4f5b59e178d06574 Mon Sep 17 00:00:00 2001 From: "guntars.puzulis" Date: Thu, 23 Nov 2023 13:55:41 +0200 Subject: [PATCH] Fix syntax errors --- src/js/lib/DOMTranslation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/lib/DOMTranslation.ts b/src/js/lib/DOMTranslation.ts index 961c389..8f2e25a 100644 --- a/src/js/lib/DOMTranslation.ts +++ b/src/js/lib/DOMTranslation.ts @@ -1054,9 +1054,9 @@ class DOMTranslation { private addUserElementToCollection (collection: Set, element) { if ( element.nodeType === Node.ELEMENT_NODE && ( - element.nodeName === TILDE_MT_RAW_TEXT_NODE_TAG || - element.nodeName === TILDE_MT_TEXT_MARKER_START_TAG || - element.nodeName === TILDE_MT_TEXT_MARKER_END_TAG + element.nodeName === RAW_TEXT_NODE_WRAPPER_TAG || + element.nodeName === TEXT_MARKER_START_TAG || + element.nodeName === TEXT_MARKER_END_TAG ) ) { return