mirror of
https://github.com/itsdave-de/fusionpbx_connect.git
synced 2025-05-06 15:45:15 +02:00
reajust css
This commit is contained in:
parent
d044d0a28a
commit
e206833d85
@ -24,6 +24,7 @@ function create_dialog_and_init_map(frm) {
|
||||
modalContent.css("width", "80vw");
|
||||
modalContent.css("height", "80vh");
|
||||
modalContent.css("max-width", "none"); // Ensure no max-width restrictions
|
||||
modalContent.css("margin", "auto"); // Center the modal
|
||||
|
||||
// Add hide event to reload the page when the dialog is closed
|
||||
dialog.onhide = function () {
|
||||
@ -46,7 +47,7 @@ function create_dialog_and_init_map(frm) {
|
||||
var currentMap = null;
|
||||
|
||||
function init_map(frm) {
|
||||
console.table(window.L);
|
||||
//console.table(window.L);
|
||||
console.log("Initializing map with MyLeaflet...");
|
||||
if (currentMap !== null) {
|
||||
currentMap.remove(); // Remove the previous map if it exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user