diff --git a/js/events.js b/js/events.js index 09d0ce89..7a2098f9 100644 --- a/js/events.js +++ b/js/events.js @@ -48,7 +48,7 @@ EventEmitter.prototype.listeners = function (e) { EventEmitter.prototype.once = function (e, f) { var that = this; this.on(e, function g() { - f.apply(es, arguments); + f.apply(e, arguments); that.off(e, g); }); return this;