Widget:Vote
From BASAkalimantanWiki
7589
75
<script> document.addEventListener('DOMContentLoaded', function(){ console.log('Готов!');
var animateButton = function(e) {
e.preventDefault; //reset animation e.target.classList.remove('animate');
e.target.classList.add('animate'); setTimeout(function(){
e.target.classList.remove('animate');
},700); };
var classname = document.getElementsByClassName("confetti-button");
for (var i = 0; i < classname.length; i++) {
classname[i].addEventListener('click', animateButton, false);
}
}); </script>