mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
backspace fix
This commit is contained in:
@@ -2273,9 +2273,7 @@ var _CPCopyPlaceholder = '-';
|
||||
{
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
// backspace in safari tends to insert <br>s -> eliminate these
|
||||
if (_CPNativeInputField.innerHTML.length > 2)
|
||||
_CPNativeInputField.innerHTML = '';
|
||||
_CPNativeInputField.innerHTML = '';
|
||||
#endif
|
||||
|
||||
[self _endInputSessionWithString:_CPNativeInputField.innerHTML];
|
||||
|
||||
Reference in New Issue
Block a user