From 1f930c112b68de79603b52c7370ea21ad45c50ec Mon Sep 17 00:00:00 2001 From: npezza93 Date: Sat, 19 Aug 2017 15:56:58 -0400 Subject: [PATCH] Add bellAudioElement to helperContainer instead of element --- src/Terminal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Terminal.ts b/src/Terminal.ts index a2129079..98780f5c 100644 --- a/src/Terminal.ts +++ b/src/Terminal.ts @@ -2298,9 +2298,9 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT this.bellAudioElement = document.createElement('audio'); this.bellAudioElement.setAttribute('preload', 'auto'); this.bellAudioElement.setAttribute('src', this.options.bellSound); - this.element.appendChild(this.bellAudioElement); + this.helperContainer.appendChild(this.bellAudioElement); } else if (this.bellAudioElement) { - this.element.removeChild(this.bellAudioElement); + this.helperContainer.removeChild(this.bellAudioElement); } } }