fix sound test page
parent
e3c0ea2b09
commit
8d990a1fb6
|
@ -41,14 +41,15 @@
|
|||
lichess.sound.changeSet(set);
|
||||
lichess.sound.play(name);
|
||||
}
|
||||
var soundSets = ["standard", "piano", "nes", "sfx", "futuristic", "robot"];
|
||||
const soundSets = ["standard", "piano", "nes", "sfx", "futuristic", "robot"],
|
||||
basics = ['genericNotify', 'move', 'capture', 'explode', 'lowtime', 'victory', 'defeat', 'draw', 'berserk', 'check', 'newChallenge', 'newPM', 'confirmation', 'error'];
|
||||
/*
|
||||
for (var i = 0; i <= 10; i++) soundNames['countDown' + i] = 'CountDown' + i;
|
||||
$.each(soundSets, function(i, soundSet) {
|
||||
$('#sets').append($('<th>').text(soundSet));
|
||||
});
|
||||
*/
|
||||
for (const name of lichess.sound.basics) {
|
||||
for (const name of basics) {
|
||||
var tr = $('<tr>').appendTo($('#sounds'));
|
||||
$.each(soundSets, function(i, soundSet) {
|
||||
var id = "soundSet_" + soundSet;
|
||||
|
|
Loading…
Reference in New Issue