Skip to content

Commit

Permalink
Fix for audio bell.ogg #5931
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoro authored and Eugeny committed Oct 26, 2022
1 parent 270f273 commit 4ea3e88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tabby-terminal/src/api/baseTerminalTab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>('../bell.ogg')
this.bellPlayer.load()

this.contextMenuProviders.sort((a, b) => a.weight - b.weight)
}
Expand Down

0 comments on commit 4ea3e88

Please sign in to comment.