updated custom url functionality

pull/1172/head
Scott Anderson 2020-06-29 16:36:31 -06:00
parent 2769693405
commit 6ee959554c
1 changed files with 3 additions and 3 deletions

View File

@ -124,9 +124,9 @@ $('button.url-trigger, #callout-url-selector .close').click(function() {
}
})
// Place cursor in custom URL field when custom radio is selected
$('input#custom[type="radio"]').click(function(e) {
$('input#custom-url-field').focus()
// Trigger radio button on custom URL field focus
$('input#custom-url-field').focus(function(e) {
$('input#custom[type="radio"]').trigger('click')
})
$("#custom-url").submit(function(e) {