From 9ff6375e62333be1fab70ba4ce3772980c62409f Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 12 Feb 2016 15:30:36 +0800 Subject: [PATCH] don't need to create synapse on canvas click --- app/assets/javascripts/src/Metamaps.JIT.js.erb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/assets/javascripts/src/Metamaps.JIT.js.erb b/app/assets/javascripts/src/Metamaps.JIT.js.erb index 6cd0fa88..4ccc63fa 100644 --- a/app/assets/javascripts/src/Metamaps.JIT.js.erb +++ b/app/assets/javascripts/src/Metamaps.JIT.js.erb @@ -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