10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix double flag not set

This commit is contained in:
Mickaël Véril 2020-01-08 16:30:55 +01:00
parent 94cb411297
commit 0d719fd918

View File

@ -137,7 +137,7 @@ class excitationBase {
const [initialt, finalt] = ty.split(arrow, 2) const [initialt, finalt] = ty.split(arrow, 2)
const initialts = initialt.split(",").map(x => x.trim()) const initialts = initialt.split(",").map(x => x.trim())
const finalts = finalt.split(",").map(x => x.trim()) const finalts = finalt.split(",").map(x => x.trim())
if (initialts.length == 2 && finalt.length == 2) { if (initialts.length == 2 && finalts.length == 2) {
this.type.Value = this.type | excitationTypes.Double this.type.Value = this.type | excitationTypes.Double
} }
else if (initialts.length == 1 && finalt.length == 1) { else if (initialts.length == 1 && finalt.length == 1) {