Skip to content

Commit

Permalink
Merge pull request #728 from NeurodataWithoutBorders/auto-focus-forma…
Browse files Browse the repository at this point in the history
…ts-popup

Auto-Focus Formats Search
  • Loading branch information
CodyCBakerPhD authored Apr 5, 2024
2 parents 9869446 + 762820d commit 822df79
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class GuidedStructurePage extends Page {

this.addButton.innerText = "Add Format";
this.addButton.onClick = () => {
this.search.shadowRoot.querySelector("input").focus();
this.searchModal.toggle(true);
};

Expand Down

0 comments on commit 822df79

Please sign in to comment.