forked from rDrama/rDrama
stop confetti from triggering inside textboxes
parent
70cf319041
commit
2927e1cddf
|
@ -1,4 +1,8 @@
|
|||
document.addEventListener('click', function(e) {
|
||||
|
||||
if (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement)
|
||||
return;
|
||||
|
||||
function random(max){
|
||||
return Math.random() * (max - 0) + 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue