mirror of
https://github.com/9001/copyparty.git
synced 2026-03-24 00:53:23 +10:00
repl: select default text on load
This commit is contained in:
@@ -1074,7 +1074,9 @@ function repl_load() {
|
||||
};
|
||||
getpres();
|
||||
tb.value = last_repl;
|
||||
|
||||
setTimeout(function () {
|
||||
tb.setSelectionRange(0, tb.value.length, "forward");
|
||||
}, 10);
|
||||
}
|
||||
function repl(e) {
|
||||
ev(e);
|
||||
|
||||
Reference in New Issue
Block a user