interpret undefined as false
This commit is contained in:
parent
9b0d7a6443
commit
8508b43bb5
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ function runFilters(value, filter, reading, name) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter.onRead == reading) {
|
if ((!!filter.onRead) == reading) {
|
||||||
return filter(value, name);
|
return filter(value, name);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue