aboutsummaryrefslogtreecommitdiff
path: root/web/simple/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/simple/app.js')
-rw-r--r--web/simple/app.js4
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;
}
}