Fix for older JS versions

This commit is contained in:
Guillaume Gomez 2018-01-16 15:38:08 +01:00
parent 026c749989
commit 3a7e247acb

View file

@ -115,7 +115,7 @@ function lookForEntry(entry, data) {
if (!entry.hasOwnProperty(key)) {
continue;
}
let value = data[i][key];
var value = data[i][key];
// To make our life easier, if there is a "parent" type, we add it to the path.
if (key === 'path' && data[i]['parent'] !== undefined) {
if (value.length > 0) {