mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-01 15:46:54 +02:00
Focus the prompt textbox on start
This commit is contained in:
parent
a342de0207
commit
30dbadb2ab
@ -1527,3 +1527,7 @@ window.addEventListener("beforeunload", function(e) {
|
|||||||
|
|
||||||
createCollapsibles()
|
createCollapsibles()
|
||||||
prettifyInputs(document);
|
prettifyInputs(document);
|
||||||
|
|
||||||
|
// set the textbox as focused on start
|
||||||
|
promptField.focus()
|
||||||
|
promptField.selectionStart = promptField.value.length
|
||||||
|
Loading…
x
Reference in New Issue
Block a user