show node details when direct linking to a node without a position

This commit is contained in:
liamcottle
2024-06-08 15:40:50 +12:00
parent 242c8a6aa6
commit e05652fc37

View File

@ -3143,7 +3143,15 @@
// go to node id if provided
if(goToNodeId){
goToNode(goToNodeId, false, zoom);
// go to node
if(window.goToNode(goToNodeId, false, zoom)){
return;
}
// fallback to showing node details since we can't go to the node
window.showNodeDetails(goToNodeId);
}
});