diff --git a/public/app.js b/public/app.js index cbb54cc..42cec9b 100644 --- a/public/app.js +++ b/public/app.js @@ -993,7 +993,7 @@ var sw = (function(){ document.addEventListener('click', function(e){ if(!e.target.classList.contains('btn-sw-fill')) return; var inp = e.target.closest('.add-row, .qb-row').querySelector('.num-in'); - if(inp) inp.value = Math.floor(getMs() / 1000); + if(inp){ inp.value = Math.floor(getMs() / 1000); inp.dispatchEvent(new Event('input')); } }); return { getMs: getMs };