diff --git a/static/js/data.js b/static/js/data.js index 568981d4..3846ae4c 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -333,7 +333,7 @@ class dataFileBase { // Find if there is a duplicate or not if (stfy.indexOf(element, i + 1) >= 0) { // Find if the element is already in the result array or not - if (result.indexOf(element) === -1) { + if (double.indexOf(element) === -1) { double.push(dat.excitations[i]) } }