This commit is contained in:
Fabian Jakobs 2011-02-18 15:47:46 +01:00
commit 966181fcf8

View file

@ -130,7 +130,7 @@ var Cursor = function(parentEl) {
this.element.appendChild(this.cursor);
}
if (overwrite) {
if (this.overwrite) {
dom.addCssClass(this.cursor, "ace_overwrite");
} else {
dom.removeCssClass(this.cursor, "ace_overwrite");