diff --git a/resources/public/js/scripts.js b/resources/public/js/scripts.js index 0bb4df3..885fff9 100644 --- a/resources/public/js/scripts.js +++ b/resources/public/js/scripts.js @@ -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')