show node details when direct linking to a node without a position
This commit is contained in:
parent
242c8a6aa6
commit
e05652fc37
1 changed files with 9 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue