diff --git a/frontend/js/fpMapPopups.js b/frontend/js/fpMapPopups.js index 12859578..85f71a67 100644 --- a/frontend/js/fpMapPopups.js +++ b/frontend/js/fpMapPopups.js @@ -15,7 +15,7 @@ if(!dialogTemplate) return; - var el = $("
").addClass("fp-popup fp-popup-bottom fp-popup-right").html(dialogTemplate).appendTo(map.map.viewPortDiv); + var el = $("").addClass("fp-popup fp-popup-bottom fp-popup-right").html(dialogTemplate).appendTo(map.map.div); var ret = { pos: pos,