Fixing type for DOM Elements

This commit fixes the type for DOM Elements in CPTextView.j
This commit is contained in:
Andrew Hankinson committed 2014-12-17 12:40:24 -05:00
1 parent 47d963b585
commit 3e800ec7c8
1 file changed
+3 -2
+3 -2
View File
@@ -111,7 +111,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
BOOL _scrollingDownward;
var _caretDOM;
DOMElement _DOMElement;
DOMElement _caretDOM;
int _stickyXLocation;
CPArray _selectionSpans;
@@ -529,7 +530,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
style.whiteSpace = "pre";
style.backgroundColor = "black";
_caretDOM.style.width = "1px";
self._DOMElement.appendChild(_caretDOM);
_DOMElement.appendChild(_caretDOM);
}
_caretDOM.style.left = (aRect.origin.x) + "px";