change delete countdown to actual 3 seconds

integration-tests
Josha von Gizycki 6 years ago
parent 1061e6566d
commit 61d5714ba8

@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', function() {
const btn = event.target const btn = event.target
const countdown = btn.getAttribute('data-countdown') const countdown = btn.getAttribute('data-countdown')
if(countdown != 0) { if(countdown != 1) {
event.preventDefault() event.preventDefault()
btn.classList.add('__on-countdown') btn.classList.add('__on-countdown')

Loading…
Cancel
Save