mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
repl: select default text on load
This commit is contained in:
parent
83c9843059
commit
be32b743c6
1 changed files with 3 additions and 1 deletions
|
@ -1074,7 +1074,9 @@ function repl_load() {
|
||||||
};
|
};
|
||||||
getpres();
|
getpres();
|
||||||
tb.value = last_repl;
|
tb.value = last_repl;
|
||||||
|
setTimeout(function () {
|
||||||
|
tb.setSelectionRange(0, tb.value.length, "forward");
|
||||||
|
}, 10);
|
||||||
}
|
}
|
||||||
function repl(e) {
|
function repl(e) {
|
||||||
ev(e);
|
ev(e);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue