mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Update module/applications/ui/countdownEdit.mjs
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
This commit is contained in:
parent
ffac498609
commit
59a4f15680
1 changed files with 1 additions and 2 deletions
|
|
@ -73,8 +73,7 @@ export default class CountdownEdit extends HandlebarsApplicationMixin(Applicatio
|
||||||
`.countdown-edit-container[data-id="${this.currentEditCountdown}"] input`
|
`.countdown-edit-container[data-id="${this.currentEditCountdown}"] input`
|
||||||
);
|
);
|
||||||
if (input) {
|
if (input) {
|
||||||
input.focus();
|
input.select();
|
||||||
input.selectionStart = input.value.length + 1;
|
|
||||||
this.currentEditCountdown = null;
|
this.currentEditCountdown = null;
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue