fix older IEs
This commit is contained in:
parent
5435063a2f
commit
6a027d88a9
|
@ -1923,7 +1923,11 @@ function Ace2Inner(){
|
|||
if (charsLeft === 0)
|
||||
{
|
||||
var index = 0;
|
||||
browser.msie = false; // Temp fix to resolve enter and backspace issues..
|
||||
|
||||
if (browser.msie && parseInt(browser.version) >= 11) {
|
||||
browser.msie = false; // Temp fix to resolve enter and backspace issues..
|
||||
// Note that this makes MSIE behave like modern browsers..
|
||||
}
|
||||
if (browser.msie && line == (rep.lines.length() - 1) && lineNode.childNodes.length === 0)
|
||||
{
|
||||
// best to stay at end of last empty div in IE
|
||||
|
|
Loading…
Reference in New Issue