Skip to content

Commit

Permalink
refactor: minor fixes on interface (cont.) #16
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomrebelo committed Jul 18, 2023
1 parent 926e9d9 commit 63669c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/client/components/Interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class Interface extends LitElement {
</div>
${Divider.get()}
<div class="col-12 mb-3">
<button type="button" class="btn btn-primary mb-2" @click="${(e) => {
<button type="button" id="evolve-bt" class="btn btn-primary mb-2" @click="${(e) => {
// lock interface evo
document.querySelectorAll(`.init-selector`).forEach((el) => {
el.classList.add("disabled-inputs");
Expand All @@ -90,7 +90,7 @@ export class Interface extends LitElement {
});
}}">Evolve</button>
<button type="button" class="btn btn-primary mb-2 d-none evo-bts" ?disabled="${this.evolving}"
<button type="button" id="start-bt" class="btn btn-primary mb-2 d-none evo-bts" ?disabled="${this.evolving}"
@click="${(e) => {
this.pop.evolving = true;
this.pop.evolve();
Expand Down
Loading

0 comments on commit 63669c5

Please sign in to comment.