type coercion shittyfuck

integration-tests
Josha von Gizycki 6 years ago
parent 889bee9349
commit 1ab7fb3d5e

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

Loading…
Cancel
Save