diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-08-25 03:41:35 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-08-25 03:42:36 +0300 |
commit | c4eac02df893683b2e22945b5a9fe53ac35b8011 (patch) | |
tree | e9f7ce13ebb38ec7155b5d97abfba5d22e7edab0 /app/assets/javascripts/behaviors | |
parent | d6692113598e33ac65b0977077dda1d5b9b9eca1 (diff) |
IssueNotesRefactor: Fix quick submit spec.
Diffstat (limited to 'app/assets/javascripts/behaviors')
-rw-r--r-- | app/assets/javascripts/behaviors/quick_submit.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/behaviors/quick_submit.js b/app/assets/javascripts/behaviors/quick_submit.js index ca0eae32387..79702c54852 100644 --- a/app/assets/javascripts/behaviors/quick_submit.js +++ b/app/assets/javascripts/behaviors/quick_submit.js @@ -45,7 +45,7 @@ $(document).on('keydown.quick_submit', '.js-quick-submit', (e) => { if (!$submitButton.attr('disabled')) { $submitButton.trigger('click', [e]); - if (!gl.utils.isInIssuePage) { + if (!gl.utils.isInIssuePage()) { $submitButton.disable(); } } |