From 61d5714ba87daef23beec9194054418e0ebdc292 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 9 Oct 2018 18:00:12 +0200 Subject: [PATCH] change delete countdown to actual 3 seconds --- resources/public/js/frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/public/js/frontend.js b/resources/public/js/frontend.js index 72c3f26..441c49c 100644 --- a/resources/public/js/frontend.js +++ b/resources/public/js/frontend.js @@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', function() { const btn = event.target const countdown = btn.getAttribute('data-countdown') - if(countdown != 0) { + if(countdown != 1) { event.preventDefault() btn.classList.add('__on-countdown')