From 4ea3e88a8ebd623347290105ea7a3f8c0ada40ad Mon Sep 17 00:00:00 2001 From: Andrii Zhovtiak Date: Wed, 26 Oct 2022 11:25:23 +0300 Subject: [PATCH] Fix for audio bell.ogg #5931 --- tabby-terminal/src/api/baseTerminalTab.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tabby-terminal/src/api/baseTerminalTab.component.ts b/tabby-terminal/src/api/baseTerminalTab.component.ts index 70314600..7ef4db5b 100644 --- a/tabby-terminal/src/api/baseTerminalTab.component.ts +++ b/tabby-terminal/src/api/baseTerminalTab.component.ts @@ -301,7 +301,8 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit }) this.bellPlayer = document.createElement('audio') - this.bellPlayer.src = require('../bell.ogg').default + this.bellPlayer.src = require('../bell.ogg') + this.bellPlayer.load() this.contextMenuProviders.sort((a, b) => a.weight - b.weight) }