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()
|
Create.newSynapse.description = $(this).val()
|
||||||
})
|
})
|
||||||
|
|
||||||
$('#synapse_desc').focusout(function() {
|
$('#synapse_desc').focusout(function(e) {
|
||||||
if (Create.newSynapse.beingCreated) {
|
Create.newSynapse.hide()
|
||||||
Synapse.createSynapseLocally()
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
$('#synapse_desc').keydown(function(e) {
|
$('#synapse_desc').keydown(function(e) {
|
||||||
|
|
Loading…
Reference in a new issue