JS If Animation Infinity End

$('#dot1').on('animationiteration', function (e) {
  alert('done!')
})
Borma