Skip to content

Commit

Permalink
Merge pull request #2880 from threefoldtech/development_fix_ssh_selec…
Browse files Browse the repository at this point in the history
…tion

Fix `Manage SSH keys` not focused if error
  • Loading branch information
MohamedElmdary authored Jun 5, 2024
2 parents 2b7ab4e + 123e813 commit 7014fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playground/src/components/weblet_layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function validateBeforeDeploy(fn: () => void) {
// Timeout so the ui gets render before scroll
setTimeout(() => {
const _input = input.querySelector("textarea") || input.querySelector("input") || null;
const _input = input.querySelector("textarea") || input.querySelector("input") || input;
if (!(_input instanceof HTMLElement)) {
return;
}
Expand Down

0 comments on commit 7014fb3

Please sign in to comment.