mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Remove remaining removeListener ref
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ export class EventEmitter {
|
||||
public once(type, listener): any {
|
||||
function on() {
|
||||
let args = Array.prototype.slice.call(arguments);
|
||||
this.removeListener(type, on);
|
||||
this.off(type, on);
|
||||
return listener.apply(this, args);
|
||||
}
|
||||
(<any>on).listener = listener;
|
||||
|
||||
Reference in New Issue
Block a user