Minor IE8 fixes
This commit is contained in:
parent
4eff803f31
commit
a2260740ad
2 changed files with 2 additions and 2 deletions
|
|
@ -205,7 +205,7 @@ exports.fillDropdown = function(el, values) {
|
|||
function elt(tag, attributes, content) {
|
||||
var el = dom.createElement(tag);
|
||||
if (typeof content == "string") {
|
||||
el.textContent = content;
|
||||
el.appendChild(document.createTextNode(content));
|
||||
} else if (content) {
|
||||
content.forEach(function(ch) {
|
||||
el.appendChild(ch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue