diff options
author | Brian Cully <bjc@kublai.com> | 2021-02-19 09:56:03 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2021-02-19 09:56:03 -0500 |
commit | fc3f9feeddd755d357fa76a28ce5d4a327e0c2e1 (patch) | |
tree | 2b26bac2e67711406192612df6596cd8841ba90a /rules.mjs | |
parent | 335ef36746c30d80f2b979050bfd40a70d4be44b (diff) | |
download | molsim2-fc3f9feeddd755d357fa76a28ce5d4a327e0c2e1.tar.gz molsim2-fc3f9feeddd755d357fa76a28ce5d4a327e0c2e1.zip |
Get nucleotide selection working again.
Diffstat (limited to 'rules.mjs')
-rw-r--r-- | rules.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,14 +77,14 @@ class NucleotideSelect { this.rules.instructions.querySelector('#select-number').innerHTML = `${this.want}<sup>${ordinalSuffix(this.want)}</sup>` - this.rules.currentGenome.onSelectionChanged = + this.rules.currentGenome.onNucleotideSelectionChanged = this.handleSelectionChanged.bind(this) this.rules.currentGenome.unlock() } exit() { this.rules.currentGenome.lock() - this.rules.currentGenome.onSelectionChanged = undefined; + this.rules.currentGenome.onNucleotideSelectionChanged = undefined; } handleSelectionChanged(nucleotide, i) { |