From 4c2c916b503c47acb40c95c0f838430b8b3af881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Wed, 28 Oct 2020 10:35:32 +0100 Subject: [PATCH] Fix syntax error --- static/js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/data.js b/static/js/data.js index 51c37645..d7ac3210 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -202,7 +202,7 @@ class excitationBase { if (this.type.Value == 0) { this.type.Value = excitationTypes.Others.Value; } - else (!(this.type & (excitationTypes.Single.Value | excitationTypes.Double.Value))){ + else if (!(this.type & (excitationTypes.Single.Value | excitationTypes.Double.Value))){ this.type.Value = excitationTypes.Single } this.T1 = T1