Merge pull request #1425 from danyaPostfactum/misc
Micro bug fixes (IE8 issues and mistypes)
This commit is contained in:
commit
f68b8b9719
4 changed files with 4 additions and 4 deletions
|
|
@ -91,7 +91,7 @@ require("ace/multi_select").MultiSelect(env.editor);
|
||||||
var consoleEl = dom.createElement("div");
|
var consoleEl = dom.createElement("div");
|
||||||
container.parentNode.appendChild(consoleEl);
|
container.parentNode.appendChild(consoleEl);
|
||||||
consoleEl.style.cssText = "position:fixed; bottom:1px; right:0;\
|
consoleEl.style.cssText = "position:fixed; bottom:1px; right:0;\
|
||||||
border:1px solid #baf; zIndex:100";
|
border:1px solid #baf; z-index:100";
|
||||||
|
|
||||||
var cmdLine = new layout.singleLineEditor(consoleEl);
|
var cmdLine = new layout.singleLineEditor(consoleEl);
|
||||||
cmdLine.editor = env.editor;
|
cmdLine.editor = env.editor;
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ exports.fillDropdown = function(el, values) {
|
||||||
function elt(tag, attributes, content) {
|
function elt(tag, attributes, content) {
|
||||||
var el = dom.createElement(tag);
|
var el = dom.createElement(tag);
|
||||||
if (typeof content == "string") {
|
if (typeof content == "string") {
|
||||||
el.textContent = content;
|
el.appendChild(document.createTextNode(content));
|
||||||
} else if (content) {
|
} else if (content) {
|
||||||
content.forEach(function(ch) {
|
content.forEach(function(ch) {
|
||||||
el.appendChild(ch);
|
el.appendChild(ch);
|
||||||
|
|
|
||||||
|
|
@ -276,7 +276,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<input type="button" value="Edit Snippets", onclick="env.editSnippets()">
|
<input type="button" value="Edit Snippets" onclick="env.editSnippets()">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -655,7 +655,7 @@ module.exports = {
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports.backspace = module.exports.left = module.exports.h;
|
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.up = module.exports.k;
|
||||||
module.exports.down = module.exports.j;
|
module.exports.down = module.exports.j;
|
||||||
module.exports.pagedown = module.exports["ctrl-d"];
|
module.exports.pagedown = module.exports["ctrl-d"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue