diff --git a/map.js b/map.js index fe5a9d2..4aa86fb 100644 --- a/map.js +++ b/map.js @@ -277,3 +277,8 @@ }); }); } + +// HTMLのonclick属性から関数を呼び出せるように、グローバルスコープに公開する +window.saveComment = saveComment; +window.deleteComment = deleteComment; +window.updateComment = updateComment;