mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Merge pull request #2656 from stefanmintert/20150507-innertext-bugfix
Bugfix innerText
This commit is contained in:
commit
f5ccd3ce6d
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue