Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit 5dc74467 authored by Emmanuel Raviart's avatar Emmanuel Raviart

Use eslint no-undef for document variable.

parent da3b459d
......@@ -18,8 +18,8 @@
<audio id="ring_sound" src="/ring.mp3"></audio>
{#if duration < seconds}
<script>
if (document !== undefined) {
document.getElementById("ring_sound").play()
if (document !== undefined) { // eslint-disable-line no-undef
document.getElementById("ring_sound").play() // eslint-disable-line no-undef
}
</script>
{/if}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment