Use removeChild instead of remove for compatibility

This commit is contained in:
npezza93
2017-08-19 15:16:21 -04:00
parent 668b25eeb2
commit 147fef74c6
+1 -1
View File
@@ -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);
}
}
}