Skip to content

Commit fe61020

Browse files
Dean SoferDean Sofer
authored andcommitted
Try to fix calendar button
1 parent b0f47fc commit fe61020

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

map.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ window.viewEventDetails = function(eventIndex, expandDetails = false, marker = n
369369
const infoWindow = Events.infoWindow(event, true);
370370
// Use the provided marker (cluster marker) or fallback to event marker
371371
const anchorMarker = marker || event.marker;
372-
infoWindow.open(window.map, anchorMarker);
373372

374373
// Automatically expand details if requested
375374
if (expandDetails) {
@@ -382,6 +381,8 @@ window.viewEventDetails = function(eventIndex, expandDetails = false, marker = n
382381
infoWindow.open(window.map, anchorMarker);
383382
}
384383
}, 100);
384+
} else {
385+
infoWindow.open(window.map, anchorMarker);
385386
}
386387
}
387388
};

0 commit comments

Comments
 (0)