mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 11:07:07 +00:00
backspace fix
This commit is contained in:
1 parent
b07ff100d1
commit
f2d5dee49e
1 file changed
+1
-3
@@ -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