diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-26 02:16:33 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-26 02:16:33 +1300 |
commit | b32387fe01dafc1e85509c8e5312831d9cd0aef2 (patch) | |
tree | 27ac63ee43c6ca2866dfb7194569f25c4d4670a6 /web | |
parent | fa55a66f7aa89fbb2fbdd1a81af1b03f1fbac109 (diff) | |
download | trackermap-web-b32387fe01dafc1e85509c8e5312831d9cd0aef2.tar.gz trackermap-web-b32387fe01dafc1e85509c8e5312831d9cd0aef2.tar.bz2 trackermap-web-b32387fe01dafc1e85509c8e5312831d9cd0aef2.zip |
Fix find method
Diffstat (limited to 'web')
-rw-r--r-- | web/simple/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/simple/app.js b/web/simple/app.js index cc83c7dc..ed889f19 100644 --- a/web/simple/app.js +++ b/web/simple/app.js @@ -19,8 +19,8 @@ if (!Array.prototype.find) { value: function(predicate) { var value; for (var i = 0; i < this.length; i++) { - value = list[i]; - if (predicate.call(arguments[1], value, i, list)) { + value = this[i]; + if (predicate.call(arguments[1], value, i, this)) { return value; } } |