summaryrefslogtreecommitdiffstats
path: root/main.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'main.mjs')
-rw-r--r--main.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.mjs b/main.mjs
index aed3c1a..1af1c56 100644
--- a/main.mjs
+++ b/main.mjs
@@ -3,6 +3,7 @@ import Rules from './rules.mjs'
function init() {
const genomeList = document.querySelector('#genome-history')
const die = document.querySelector('#die')
+ const aminoAcidSelector = document.querySelector('#amino-acid-selector')
const nucleotideSelector = document.querySelector('#nucleotide-selector')
const instructions = document.querySelector('#instructions')
const cloneButton = document.querySelector('#clone')
@@ -10,7 +11,7 @@ function init() {
const printButton = document.querySelector('#print')
const errors = document.querySelector('#errors')
- const rules = new Rules(die, instructions, genomeList, nucleotideSelector, cloneButton, remainingIterations, printButton, errors)
+ const rules = new Rules(die, instructions, genomeList, aminoAcidSelector, nucleotideSelector, cloneButton, remainingIterations, printButton, errors)
}
init()