blank X 2019-01-28 23:07:52 +07:00
parent c44df4924d
commit e93ddcdca4
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 5 additions and 1 deletions

View File

@ -16,8 +16,12 @@ console.log(min)
console.log(max) console.log(max)
var rn = Math.floor(Math.random()*(max-min+1)+min); var rn = Math.floor(Math.random()*(max-min+1)+min);
console.log(rn) console.log(rn)
var bodyc = document.getElementById('owo').classList;
if (rn > 0) {
bodyc.remove('jack');
}
if (rn = 1) { if (rn = 1) {
document.getElementById('owo').class = 'kazoo'; bodyc.add('kazoo');
} }
</script> </script>
</body> </body>