Skip to content

Commit f6da4ca

Browse files
authored
Merge pull request #3 from TinyWebEx/fixtyppo
Fix code-relevant typo
2 parents dee08d4 + 92c5859 commit f6da4ca

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)