Use removeChild instead of remove for compatibility
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user