diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index d7852263..57907820 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -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)