Este commit está contenido en:
Your Name
2020-05-28 10:46:51 +00:00
padre 8e5fb9911c
commit cfb1b01b3c
Se han modificado 119 ficheros con 3177 adiciones y 0 borrados

Ver fichero

@@ -0,0 +1,31 @@
var audio = new Audio('/sounds/wonderworld.mp3');
audio.loop = true
audio.play();
audio.volume = 0.5
function play(){
audio.play();
$("#musicStop").removeClass("d-none");
$("#musicPlay").addClass("d-none");
}
function stop(){
audio.pause();
$("#musicPlay").removeClass("d-none");
$("#musicStop").addClass("d-none");
}
$(document).ready(function () {
// stop();
$("#username").val(getUserRamdom());
$("#username").on({
keydown: function(e) {
if (e.which === 32)
return false;
},
change: function() {
this.value = this.value.replace(/\s/g, "");
}
});
});