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.queryselector(".confetti-button"); classname.addEventListener('click', animateButton, false); }); </script>