left clicking the canvas cancels synapse creation, instead of creating a synapse

This commit is contained in:
Devin Howard 2016-12-11 17:07:25 -05:00
parent 1ba339b3be
commit b98f9b4bbc

View file

@ -315,10 +315,8 @@ const Create = {
Create.newSynapse.description = $(this).val()
})
$('#synapse_desc').focusout(function() {
if (Create.newSynapse.beingCreated) {
Synapse.createSynapseLocally()
}
$('#synapse_desc').focusout(function(e) {
Create.newSynapse.hide()
})
$('#synapse_desc').keydown(function(e) {