diff --git a/autosquash_please.js b/autosquash_please.js index 33708c3..675ba2b 100644 --- a/autosquash_please.js +++ b/autosquash_please.js @@ -80,7 +80,8 @@ loadOptions().then((options) => { if (commitMessages.find(isFixupCommits)) { console.log('[autosquash-please] A fixup! commit is found.'); let mergeDetails = document.getElementById('partial-pull-merging'); - mergeDetails.innerHTML = '

The autosquash-please addon prevents to push merge button.

'; + let mergeButton = mergeDetails.getElementsByClassName('merge-message')[0] + mergeButton.innerHTML = '

The autosquash-please addon prevents pressing merge button.

'; } else { console.log('[autosquash-please] No fixup! commits.');