From 6c7c60037bb15c0e38e4b1d9a1f1c209478cd03c Mon Sep 17 00:00:00 2001 From: daboe01 Date: Fri, 30 May 2014 19:44:37 +0200 Subject: [PATCH] next try --- AppKit/CPTextView/CPTextView.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 07a2bdcb1..650b0d475 100755 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -324,10 +324,11 @@ var kDelegateRespondsTo_textShouldBeginEditing { self = [super initWithFrame:aFrame]; -#if PLATFORM(DOM) if (self) { +#if PLATFORM(DOM) self._DOMElement.style.cursor = "text"; +#endif _textContainerInset = CGSizeMake(2,0); _textContainerOrigin = CGPointMake(_bounds.origin.x, _bounds.origin.y); [aContainer setTextView:self]; @@ -363,7 +364,6 @@ var kDelegateRespondsTo_textShouldBeginEditing } [self registerForDraggedTypes:[CPColorDragType]]; -#endif return self; }