Merge title box
This commit is contained in:
Vendored
+1
-1
@@ -87,7 +87,7 @@ function modal(content, buttons, anchor = null) {
|
|||||||
const input = dialog.querySelector("input");
|
const input = dialog.querySelector("input");
|
||||||
if (input) {
|
if (input) {
|
||||||
input.focus();
|
input.focus();
|
||||||
input.select();
|
input.setSelectionRange(0, input.value.length, "backward");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
actions.at(-1)?.focus();
|
actions.at(-1)?.focus();
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -102,7 +102,7 @@ function modal(content: string | Node[], buttons: { label: string; value: string
|
|||||||
const input = dialog.querySelector("input");
|
const input = dialog.querySelector("input");
|
||||||
if (input) {
|
if (input) {
|
||||||
input.focus();
|
input.focus();
|
||||||
input.select();
|
input.setSelectionRange(0, input.value.length, "backward");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
actions.at(-1)?.focus();
|
actions.at(-1)?.focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user