Merge branch 'MDL-85225-main' of https://github.com/ferranrecio/moodle
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -125,7 +125,7 @@ const createHeaderRow = async(rowIndex, name) => {
|
||||
const html = await renderTemplate('core/emoji/header_row', context);
|
||||
const temp = document.createElement('div');
|
||||
temp.innerHTML = html;
|
||||
return temp.firstChild;
|
||||
return temp.firstElementChild;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -154,7 +154,7 @@ const createEmojiRow = async(rowIndex, emojis) => {
|
||||
const html = await renderTemplate('core/emoji/emoji_row', context);
|
||||
const temp = document.createElement('div');
|
||||
temp.innerHTML = html;
|
||||
return temp.firstChild;
|
||||
return temp.firstElementChild;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user