diff --git a/static/index.js b/static/index.js index 28c3a8b..75049c2 100644 --- a/static/index.js +++ b/static/index.js @@ -187,7 +187,7 @@ $(document).ready(() => { html += `

${entry.word} (${entry.pos})

` if('sounds' in entry) { - html += `

${entry.sounds.map(sound => sound.ipa).join(', ')}

`; + html += `

${entry.sounds.map(sound => sound.ipa).filter(sound => sound && sound.match(/\/.*\//g)).join(', ')}

`; } if('senses' in entry) {