Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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