From 05dd342477650e4502230c1915721156b38fac56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Sat, 5 May 2018 21:28:18 +0200 Subject: [PATCH] javascript compatibility fix for Safari Former-commit-id: 2a4f71b6f242236f25e44ac4209ee479a5dbd776 --- ippisite/ippidb/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ippisite/ippidb/templates/base.html b/ippisite/ippidb/templates/base.html index 5e37787e..4364ad63 100644 --- a/ippisite/ippidb/templates/base.html +++ b/ippisite/ippidb/templates/base.html @@ -97,7 +97,7 @@ var currentCompoundData = []; var currentFamilyData = []; var otherFamiliesData = []; - plotData.forEach((item) => { + plotData.forEach(function(item){ if(item.id == compoundId){ currentCompoundData.push(item); }else if(item.family_name == compoundFamily){ -- GitLab