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);
|
||||
|
|
|
|||
|
|
@ -655,7 +655,7 @@ module.exports = {
|
|||
};
|
||||
|
||||
module.exports.backspace = module.exports.left = module.exports.h;
|
||||
module.exports.space = module.exports.return = module.exports.right = module.exports.l;
|
||||
module.exports.space = module.exports['return'] = module.exports.right = module.exports.l;
|
||||
module.exports.up = module.exports.k;
|
||||
module.exports.down = module.exports.j;
|
||||
module.exports.pagedown = module.exports["ctrl-d"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue