diff --git a/resources/views/barobill/kakaotalk/send/index.blade.php b/resources/views/barobill/kakaotalk/send/index.blade.php index 39115e41..a7323414 100644 --- a/resources/views/barobill/kakaotalk/send/index.blade.php +++ b/resources/views/barobill/kakaotalk/send/index.blade.php @@ -223,6 +223,7 @@ function addButton(prefix) { function collectButtons(prefix) { const container = document.getElementById(prefix + '-buttons-container'); const buttons = []; + if (!container) return buttons; container.querySelectorAll(':scope > div').forEach(row => { const name = row.querySelector('.btn-name')?.value; if (name) {