on topic pages, center on topic using alt+click

This commit is contained in:
Connor Turland 2014-06-10 19:25:24 -04:00
parent c567f07a50
commit 9cedf247f9

View file

@ -205,7 +205,11 @@ function selectNodeOnClickHandler(node, e) {
return; 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(); var check = nodeWasDoubleClicked();
if (check) { if (check) {