Merge pull request #2656 from stefanmintert/20150507-innertext-bugfix

Bugfix innerText
This commit is contained in:
John McLear 2015-05-07 23:09:24 +01:00
commit f5ccd3ce6d
1 changed files with 5 additions and 1 deletions

View File

@ -1982,7 +1982,11 @@ function Ace2Inner(){
function nodeText(n)
{
return n.innerText || n.textContent || n.nodeValue || '';
if (browser.msie) {
return n.innerText;
} else {
return n.textContent || n.nodeValue || '';
}
}
function getLineAndCharForPoint(point)