firstcommit

This commit is contained in:
2025-08-17 16:23:14 +05:45
commit 76bf4c0a18
2648 changed files with 362795 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
document.addEventListener("DOMContentLoaded", function () {
// Check if the mapInput class exists
const mapInput = document.querySelector(".mapInput");
if (mapInput) {
const mapContainer = document.querySelector(".mapContainer");
const mapCancel = document.querySelector(".map_cancel");
//Load map if iframe data exists
if (mapInput.value) {
mapContainer.innerHTML = mapInput.value;
}
//Load iframe on input map data
mapInput.addEventListener("input", function () {
//Show map inside div
mapContainer.innerHTML = mapInput.value;
});
//Load default if click cancel button
mapCancel.addEventListener("click", function () {
mapContainer.innerHTML = mapInput.value;
});
}
});