mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 01:18:02 +00:00
fixed: cursor extended selections did not copy in safari
This commit is contained in:
1 parent
b50ee28693
commit
7a8195e54c
1 file changed
+3
-1
@@ -2378,7 +2378,9 @@ var _CPCopyPlaceholder = '-';
|
||||
if (_CPNativeInputFieldActive)
|
||||
[self _endInputSessionWithString:_CPNativeInputField.innerHTML];
|
||||
|
||||
_CPNativeInputField.innerHTML = '';
|
||||
// prevent the copy placeholder beeing removed by cursor keys
|
||||
if (_CPNativeInputField.innerHTML != _CPCopyPlaceholder || _CPNativeInputFieldKeyPressedCalled)
|
||||
_CPNativeInputField.innerHTML = '';
|
||||
}
|
||||
|
||||
_CPNativeInputFieldLastValue = _CPNativeInputField.innerHTML;
|
||||
|
||||
Reference in new issue
Block a user