diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 7bf62a1..64d737b 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -589,18 +589,18 @@ function setup_reply_btns() { var branchselect = $('#branch_select').selectize({ - create: false, - sortField: 'text', - allowEmptyOption: false, - onChange: function(value) { - if (value != ""){ + create: false, + sortField: 'text', + allowEmptyOption: false, + onChange: function(value) { + if (value != ""){ var sel = $('#branch_select'); var final_url = "{{ url_for('.new_request_pull', username=username, repo=repo.name, branch_from=branch_from, branch_to='--') }}"; final_url = final_url.replace('--', sel.val()); window.location.href = final_url; - } + } } });