on topic pages, center on topic using alt+click
This commit is contained in:
parent
c567f07a50
commit
9cedf247f9
1 changed files with 6 additions and 2 deletions
|
@ -205,7 +205,11 @@ function selectNodeOnClickHandler(node, e) {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log(e);
|
||||
// if on a topic page, let alt+click center you on a new topic
|
||||
if (!mapid && e.altKey) {
|
||||
centerOn(node.id);
|
||||
return;
|
||||
}
|
||||
|
||||
var check = nodeWasDoubleClicked();
|
||||
if (check) {
|
||||
|
|
Loading…
Reference in a new issue