From f2d5dee49ecab1742c683749db8a30e5e9512b2b Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sat, 18 Jun 2016 19:49:11 +0200 Subject: [PATCH] backspace fix --- AppKit/CPTextView/CPTextView.j | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 9a8cb4b12..58d4b6ef7 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -2273,9 +2273,7 @@ var _CPCopyPlaceholder = '-'; { #if PLATFORM(DOM) - // backspace in safari tends to insert
s -> eliminate these - if (_CPNativeInputField.innerHTML.length > 2) - _CPNativeInputField.innerHTML = ''; + _CPNativeInputField.innerHTML = ''; #endif [self _endInputSessionWithString:_CPNativeInputField.innerHTML];