don't need to create synapse on canvas click

This commit is contained in:
Devin Howard 2016-02-12 15:30:36 +08:00
parent dc1aa1e28e
commit 9ff6375e62

View file

@ -1047,10 +1047,6 @@ Metamaps.JIT = {
Metamaps.TopicCard.hideCard();
Metamaps.SynapseCard.hideCard();
Metamaps.Create.newTopic.hide();
if ($('#new_synapse').is(":visible")) {
// Hide the new_synapse form and create the synapse!
Metamaps.Synapse.createSynapseLocally();
}//if
$('.rightclickmenu').remove();
// reset the draw synapse positions to false