Skip to content

Commit 92c5859

Browse files
authored
FIx code-relevant typo
1 parent da1f4c3 commit 92c5859

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Localizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function innerTranslateTextNodes(parent, translatedMessage, subsContainer) {
123123
const textOnlyIterator = subsContainer.textOnlyChilds[Symbol.iterator]();
124124

125125
// for first element, fake the first element as the next element
126-
let previousElement = { nextSibling: parent.fistChild };
126+
let previousElement = { nextSibling: parent.firstChild };
127127
for (const message of splitTranslatedMessage) {
128128
// if it is placeholder, replace it with HTML element
129129
if (message.startsWith(UNIQUE_REPLACEMENT_ID)) {

0 commit comments

Comments
 (0)