mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
Fix for audio bell.ogg #5931
This commit is contained in:
parent
270f273ff1
commit
4ea3e88a8e
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
||||||
})
|
})
|
||||||
|
|
||||||
this.bellPlayer = document.createElement('audio')
|
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)
|
this.contextMenuProviders.sort((a, b) => a.weight - b.weight)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue