Add bellAudioElement to helperContainer instead of element

This commit is contained in:
npezza93
2017-08-19 15:56:58 -04:00
parent 42c3eff3f7
commit 1f930c112b
+2 -2
View File
@@ -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);
}
}
}