diff --git a/Examples/pois_click/index.html b/Examples/pois_click/index.html index fd8b3a6..2d5634f 100644 --- a/Examples/pois_click/index.html +++ b/Examples/pois_click/index.html @@ -81,7 +81,7 @@
console.log(`${e.type} 에 대한 결과값`, e.detail); const pois = e.detail; pois[0].metadatas.forEach((poi) => { - if (poi.fieldKey === 'URL') { + if (poi.fieldKey === 'URL' && poi.value[0].value) { modal.style.display = 'block'; // 모달 열기 const iframe = document.getElementById('iframe'); const title = document.getElementById('title');