From 54b912f352bec8c3c6dced5c5bc9161ba4899366 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Fri, 25 Nov 2011 16:10:21 -0800 Subject: [PATCH] Revert "This should fix the IE Cursor Issue #171" This reverts commit 53bf7dc19dd4217dca6a9b454cdb72256aedcec1. --- static/js/ace2_inner.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 9c647b6d..1575fc9a 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -3097,11 +3097,7 @@ function OUTER(gscope) // Such a div is what IE 6 creates naturally when you make a blank line // in a document of divs. However, when copy-and-pasted the div will // contain a space, so we note its emptiness with a property. - if(browser.version < 9) { - lineElem.innerHTML = ""; - } else { - lineElem.innerHTML = "
"; - } + lineElem.innerHTML = ""; // a primitive-valued property survives copy-and-paste setAssoc(lineElem, "shouldBeEmpty", true); // an object property doesn't