Merge branch 'ft-support-summary-comment' into 'master'

Add support for the GitLab summary comment feature

See merge request conventionalcomments/conventional-comments-button!16
This commit is contained in:
Nicolò Maria Mezzopera 2022-09-28 09:57:48 +00:00
commit 05df0ea4b9
2 changed files with 2 additions and 2 deletions

@ -1,6 +1,6 @@
{
"name": "Conventional comments button",
"version": "0.0.1",
"version": "0.0.2",
"manifest_version": 2,
"description": "An extension to quickly add conventional comments",
"homepage_url": "https://conventionalcomments.org/",

@ -139,7 +139,7 @@ const saveChanges = (element) => {
setInterval(function () {
document
.querySelectorAll(
"#note_note:not([data-semantic-button-initialized]), #note-body:not([data-semantic-button-initialized])"
"#note_note:not([data-semantic-button-initialized]), #note-body:not([data-semantic-button-initialized]), #review-note-body:not([data-semantic-button-initialized])"
)
.forEach(function (note) {
note.dataset.semanticButtonInitialized = "true";