mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-27 23:59:24 +01:00
Fix Android Keyboards
This commit is contained in:
parent
8153f21d5c
commit
b3fea7f526
@ -1325,9 +1325,7 @@ function chunkOnBeforeInput(event) {
|
||||
document.execCommand('delete');
|
||||
}
|
||||
var s = rangy.getSelection();
|
||||
if(!s.isCollapsed) {
|
||||
s.deleteFromDocument();
|
||||
}
|
||||
|
||||
if(buildChunkSetFromNodeArray(getSelectedNodes()).size === 0) {
|
||||
var s = rangy.getSelection();
|
||||
var r = s.getRangeAt(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user