changed array detection (thanks fkei)
This commit is contained in:
parent
079edd19c8
commit
71459ab6d3
@ -134,7 +134,7 @@ function addAppender () {
|
|||||||
args = [ ALL_CATEGORIES ];
|
args = [ ALL_CATEGORIES ];
|
||||||
}
|
}
|
||||||
//argument may already be an array
|
//argument may already be an array
|
||||||
if (args[0].forEach) {
|
if (Array.isArray(args[0])) {
|
||||||
args = args[0];
|
args = args[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user