temp bodge fix

This commit is contained in:
John McLear 2015-01-19 15:15:52 +00:00
parent ab71bc7c20
commit c315defc31

View file

@ -1910,6 +1910,7 @@ function Ace2Inner(){
if (charsLeft === 0) if (charsLeft === 0)
{ {
var index = 0; var index = 0;
browser.msie = false; // Temp fix to resolve enter and backspace issues..
if (browser.msie && line == (rep.lines.length() - 1) && lineNode.childNodes.length === 0) if (browser.msie && line == (rep.lines.length() - 1) && lineNode.childNodes.length === 0)
{ {
// best to stay at end of last empty div in IE // best to stay at end of last empty div in IE
@ -2905,7 +2906,6 @@ function Ace2Inner(){
{ {
if (browser.msie && (!nonEmpty)) if (browser.msie && (!nonEmpty))
{ {
top.console.log("here");
var result = { var result = {
node: null, node: null,
appendSpan: noop, appendSpan: noop,