mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 03:57:07 +00:00
Fixing type for DOM Elements
This commit fixes the type for DOM Elements in CPTextView.j
This commit is contained in:
1 parent
47d963b585
commit
3e800ec7c8
1 file changed
+3
-2
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user