mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix Android Keyboards
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user