diff options
Diffstat (limited to 'core/js/compatibility.js')
-rw-r--r-- | core/js/compatibility.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/compatibility.js b/core/js/compatibility.js index c07288857f2..ac942d202e8 100644 --- a/core/js/compatibility.js +++ b/core/js/compatibility.js @@ -42,8 +42,9 @@ if (!Array.prototype.filter) { for (var i = 0; i < len; i++) { if (i in this) { var val = this[i]; // in case fun mutates this - if (fun.call(thisp, val, i, this)) + if (fun.call(thisp, val, i, this)) { res.push(val); + } } } return res; |