From 147fef74c6101c22b0863daa2009181266f46946 Mon Sep 17 00:00:00 2001 From: npezza93 Date: Sat, 19 Aug 2017 15:16:21 -0400 Subject: [PATCH] Use removeChild instead of remove for compatibility --- src/Terminal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terminal.ts b/src/Terminal.ts index 93524abe5..a2129079f 100644 --- a/src/Terminal.ts +++ b/src/Terminal.ts @@ -2300,7 +2300,7 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT this.bellAudioElement.setAttribute('src', this.options.bellSound); this.element.appendChild(this.bellAudioElement); } else if (this.bellAudioElement) { - this.bellAudioElement.remove(); + this.element.removeChild(this.bellAudioElement); } } }