Minor IE8 fixes

This commit is contained in:
DanyaPostfactum 2013-05-12 22:16:33 +10:00
commit a2260740ad
2 changed files with 2 additions and 2 deletions

View file

@ -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);