message: Allow customization of the squash-and-merge commit title
diff: @@ -424,7 +424,11 @@ function removeProjectsTab() {
  }
  function fixSquashAndMergeTitle() {
  - $('.btn-group-squash button[type=submit]').click(() => {
  + const btn = select('.merge-message .btn-group-squash [type=submit]');
  + if (!btn) {
  + return;
  + }
  + btn.addEventListener('click', () => {
  const title = select('.js-issue-title').textContent;
  const number = select('.gh-header-number').textContent;
  select('#merge_title_field').value = `${title.trim()} (${number})`;
  