mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Compress audio and clean links
This commit is contained in:
parent
0b64083543
commit
b7c02321fa
5 changed files with 6 additions and 21 deletions
|
|
@ -108,7 +108,7 @@ export const SMAudio = new class {
|
|||
if ('running' == audioCtx.state && (this.supportedMp3 || this.supportedOgg)) {
|
||||
if (!notificator) {
|
||||
notificator = createNewObject();
|
||||
notificator.src = Links.sound('new-mail.'+ (this.supportedMp3 ? 'mp3' : 'ogg'));
|
||||
notificator.src = Links.staticLink('sounds/new-mail.'+ (this.supportedMp3 ? 'mp3' : 'ogg'));
|
||||
}
|
||||
if (notificator) {
|
||||
notificator.volume = silent ? 0.01 : 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue