diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-21 12:13:16 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-21 12:13:16 +0100 |
commit | cec33c0d6cdf1cae143ec9240237053ea77f096d (patch) | |
tree | 49617e858c81a8e45a88b8fd018df3b391c678eb | |
parent | f8c4f12434c610d1147b337b98cc2a79452d2448 (diff) | |
download | gitlab-ce-issuable-close-btn-behaviour.tar.gz |
Fixed revert button causing open/close eventissuable-close-btn-behaviour
-rw-r--r-- | app/assets/javascripts/issuable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/issuable.js b/app/assets/javascripts/issuable.js index 7775f62acd1..851455e04e3 100644 --- a/app/assets/javascripts/issuable.js +++ b/app/assets/javascripts/issuable.js @@ -187,7 +187,7 @@ }, initStateChangeButton({ type, beforeSend, errorCallback, callback, }) { - $('.btn-close, .btn-reopen').on('click', (e) => { + $('.btn-close, .btn-reopen', $('.issuable-actions, .note-form-actions')).on('click', (e) => { const $btn = $(e.target); e.preventDefault(); |