From 53abf1f278693c2061f6c86cad8522c6defc66b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Mon, 30 Mar 2020 16:36:42 +0200 Subject: [PATCH] Remove isCorrectedTBE function --- content/multipledataset.html | 2 +- static/js/data.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/content/multipledataset.html b/content/multipledataset.html index e82570c5..4454530e 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -363,7 +363,7 @@ draft: false return -1 } else if (a.isTBE && b.isTBE) { - if (!a.isCorrectedTBE && b.isCorrectedTBE) { + if (a.basis!=="CBS" && b.basis==="CBS") { return -1 } else { diff --git a/static/js/data.js b/static/js/data.js index 3846ae4c..aaa1d7fa 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -97,9 +97,6 @@ class method { get isTBE() { return /^TBE/.test(this.name) } - get isCorrectedTBE() { - return this.name="TBE" - } } class state {