mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-27 04:37:41 +00:00
protecting document access with PLATFORM(DOM)
This commit is contained in:
@@ -1847,7 +1847,9 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
var style;
|
||||
if (!_caretDOM)
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
_caretDOM = document.createElement("span");
|
||||
#endif
|
||||
style = _caretDOM.style;
|
||||
style.position = "absolute";
|
||||
style.visibility = "visible";
|
||||
|
||||
Reference in New Issue
Block a user