left clicking the canvas cancels synapse creation, instead of creating a synapse
This commit is contained in:
parent
1ba339b3be
commit
b98f9b4bbc
1 changed files with 2 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue