diff --git a/.env.local b/.env.local index a36bad83a..c8440e954 100644 --- a/.env.local +++ b/.env.local @@ -9,5 +9,5 @@ DB_PORT=3306 # Public Settings (Client braucht IP/Domain) NEXT_PUBLIC_SERVER_URL="http://10.10.0.70" # oder evtl. später https://nodemap.firma.de NEXT_PUBLIC_ENABLE_GEOCODER=true -NEXT_PUBLIC_USE_MOCK_API=false +NEXT_PUBLIC_USE_MOCK_API=true diff --git a/config/appVersion.js b/config/appVersion.js index 1adad30ee..afdc44bc3 100644 --- a/config/appVersion.js +++ b/config/appVersion.js @@ -1,2 +1,2 @@ // /config/appVersion -export const APP_VERSION = "1.1.10"; +export const APP_VERSION = "1.1.11"; diff --git a/utils/createAndSetDevices.js b/utils/createAndSetDevices.js index c3f9416f5..d9c197316 100644 --- a/utils/createAndSetDevices.js +++ b/utils/createAndSetDevices.js @@ -107,7 +107,9 @@ export const createAndSetDevices = async (systemId, setMarkersFunction, GisSyste marker.on("mouseover", () => marker.openPopup()); marker.on("mouseout", () => marker.closePopup()); marker.on("contextmenu", (event) => { - event.preventDefault(); + if (event.originalEvent?.preventDefault) { + event.originalEvent.preventDefault(); + } marker.openPopup(); });