MDL-65896 core: fix emoji picker IE11 support

This commit is contained in:
Ryan Wyllie
2019-10-23 15:25:27 +08:00
committed by Jun Pataleta
parent b9b10b900d
commit 628b4ca262
3 changed files with 4 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -430,7 +430,7 @@ const renderRows = async (rowContainer, currentRows, nextRows) => {
toKeep.splice(nextRowIndex, 0, toKeep);
} else {
toKeep.push(rowData);
rowContainer.append(row);
rowContainer.appendChild(row);
}
});
@@ -688,7 +688,7 @@ const getHandleSearch = (searchInput, searchResultsContainer, emojiContainer) =>
const rowContainer = searchResultsContainer.querySelector(SELECTORS.ROW_CONTAINER);
// Build a render function for the search results.
const renderSearchResultsAtPosition = generateRenderRowsAtPositionFunction(rowContainer);
searchResultsContainer.append(rowContainer);
searchResultsContainer.appendChild(rowContainer);
return async () => {
const searchTerm = searchInput.value.toLowerCase();