Merge pull request #2655 from realies/master

Change alert sound from ogg to wav
This commit is contained in:
Pavel Djundik 2018-07-17 11:07:48 +03:00 committed by GitHub
commit 390d7c22ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 2 deletions

Binary file not shown.

BIN
client/audio/pop.wav Normal file

Binary file not shown.

View File

@ -26,7 +26,7 @@ socket.on("configuration", function(data) {
$("#play").on("click", () => { $("#play").on("click", () => {
const pop = new Audio(); const pop = new Audio();
pop.src = "audio/pop.ogg"; pop.src = "audio/pop.wav";
pop.play(); pop.play();
}); });

View File

@ -15,7 +15,7 @@ let pop;
try { try {
pop = new Audio(); pop = new Audio();
pop.src = "audio/pop.ogg"; pop.src = "audio/pop.wav";
} catch (e) { } catch (e) {
pop = { pop = {
play: $.noop, play: $.noop,