Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix mascot sound behavior (#961)

oops
Cette révision appartient à :
Ramon Dantas 2017-06-07 09:41:39 -03:00 révisé par ewhal
Parent 181a0cc2be
révision 5044155472

Voir le fichier

@ -71,7 +71,8 @@
{{ block "mascot" .}}
{{if ne .Mascot "hide"}}
<div id="mascot" class="hide-xs{{if ne .MascotURL ""}} custom-mascot{{end}}" onclick="playVoice();" {{if ne .MascotURL ""}}style="background-image: url('{{.MascotURL}}');"{{end}}></div>
{{ if ne .MascotURL "" }}
{{/* Only play the sounds with the default mascot */}}
{{ if eq .MascotURL "" }}
{{ if eq .Theme "tomorrow" }}
<audio id="explosion" hidden preload="none">
<source src="https://megumin.love/sounds/explosion.mp3" type="audio/mpeg">