Skip to content

Commit

Permalink
Merge pull request #3 from TinyWebEx/fixtyppo
Browse files Browse the repository at this point in the history
Fix code-relevant typo
  • Loading branch information
rugk authored Oct 19, 2022
2 parents dee08d4 + 92c5859 commit f6da4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Localizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function innerTranslateTextNodes(parent, translatedMessage, subsContainer) {
const textOnlyIterator = subsContainer.textOnlyChilds[Symbol.iterator]();

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

0 comments on commit f6da4ca

Please sign in to comment.