mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
chore(react/collections/geomap): bring back map context menu
This commit is contained in:
@@ -54,7 +54,6 @@ export default class GeoView extends ViewMode<MapData> {
|
||||
}
|
||||
|
||||
const isEditable = !this.isReadOnly;
|
||||
map.on("contextmenu", (e) => openMapContextMenu(this.parentNote.noteId, e, isEditable));
|
||||
|
||||
if (isEditable) {
|
||||
setupDragging(this.$container, map, this.parentNote.noteId);
|
||||
|
||||
Reference in New Issue
Block a user