Prevent undefined error
This commit is contained in:
parent
806e9d33bd
commit
e9d7264829
|
|
@ -92,6 +92,11 @@ var tarteaucitron = {
|
|||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
if (tarteaucitron.job === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
tarteaucitron.job = cleanArray(tarteaucitron.job);
|
||||
tarteaucitron.job = tarteaucitron.job.sort(function (a, b) {
|
||||
if (s[a].type + s[a].key > s[b].type + s[b].key) { return 1; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue