Skip to content

Commit

Permalink
pois_click 추가 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sangrimshin committed Oct 2, 2024
1 parent 1a8f8b6 commit f147d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/pois_click/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2 id="title"></h2>
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');
Expand Down

0 comments on commit f147d2d

Please sign in to comment.