From ef60928c4fa1289a58761c1d1ed51454c6bd7d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Sun, 5 Jan 2020 15:58:09 +0100 Subject: [PATCH] Fix value instead of Value --- static/js/data.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/js/data.js b/static/js/data.js index 1808565d..dfda2358 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -120,20 +120,20 @@ class excitationBase { const [initialt, finalt] = ty.split(arrow, 2) const initialts = initialt.split(",") if (initialts.length==2||initialts.length==2){ - this.type.value = this.type | excitationTypes.Singulet + this.type.Value = this.type | excitationTypes.Singulet } else{ - this.type.value = this.type | excitationTypes.Doublet + this.type.Value = this.type | excitationTypes.Doublet } const finalts = finalt.split(",").map(x => x.trim()) if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) { - this.type.value = this.type | excitationTypes.PiPis + this.type.Value = this.type | excitationTypes.PiPis } else if (initialts.includes(String.raw`\pi`) in initialts && finals.includes(String.raw`\pi^\star`)) { - this.type.value = this.type | excitationTypes.PiPis + this.type.Value = this.type | excitationTypes.PiPis } else if (ty.includes(String.raw`\pi^\star`)) { - this.type.value = this.type | excitationTypes.RYDBERG + this.type.Value = this.type | excitationTypes.RYDBERG } else if (ty.includes(String.raw`\mathrm{V}`)) { - this.type.value = this.type | excitationTypes.VALENCE + this.type.Value = this.type | excitationTypes.VALENCE } } }