Merge pull request #2656 from stefanmintert/20150507-innertext-bugfix
Bugfix innerTextpull/2665/head
commit
f5ccd3ce6d
|
@ -1982,7 +1982,11 @@ function Ace2Inner(){
|
||||||
|
|
||||||
function nodeText(n)
|
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)
|
function getLineAndCharForPoint(point)
|
||||||
|
|
Loading…
Reference in New Issue