mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2f6ea2fbca
@ -38,4 +38,7 @@ addEventListener('keydown', (event) => {
|
|||||||
target.selectionStart = selectionStart;
|
target.selectionStart = selectionStart;
|
||||||
target.selectionEnd = selectionEnd;
|
target.selectionEnd = selectionEnd;
|
||||||
}
|
}
|
||||||
|
// Since we've modified a Gradio Textbox component manually, we need to simulate an `input` DOM event to ensure its
|
||||||
|
// internal Svelte data binding remains in sync.
|
||||||
|
target.dispatchEvent(new Event("input", { bubbles: true }));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user