diff --git a/public/sound/test.html b/public/sound/test.html index c07ff0a163..58e85e5069 100644 --- a/public/sound/test.html +++ b/public/sound/test.html @@ -26,11 +26,13 @@ }; document.body.setAttribute('data-asset-url', `${location.protocol}//${location.host}`); - - + + - + + +
@@ -39,23 +41,27 @@ lichess.sound.changeSet(set); lichess.sound.play(name); } - const soundSets = ['standard', 'piano', 'nes', 'sfx', 'futuristic', 'robot'], - basics = [ - 'genericNotify', - 'move', - 'capture', - 'explosion', - 'lowTime', - 'victory', - 'defeat', - 'draw', - 'berserk', - 'check', - 'newChallenge', - 'newPM', - 'confirmation', - 'error', - ]; + const soundSets = ['standard', 'piano', 'nes', 'sfx', 'futuristic', 'robot']; + const basics = [ + 'genericNotify', + 'move', + 'capture', + 'explosion', + 'lowTime', + 'victory', + 'defeat', + 'draw', + 'berserk', + 'check', + 'newChallenge', + 'newPM', + 'confirmation', + 'error', + ]; + + soundSets.forEach(s => { + document.querySelector('thead tr').innerHTML += `${s}`; + }); /* for (var i = 0; i <= 10; i++) soundNames['countDown' + i] = 'CountDown' + i; $.each(soundSets, function(i, soundSet) {