diff --git a/scripts/setlistfm-musicbrainz-import.user.js b/scripts/setlistfm-musicbrainz-import.user.js index 6953ee4..f614ae2 100644 --- a/scripts/setlistfm-musicbrainz-import.user.js +++ b/scripts/setlistfm-musicbrainz-import.user.js @@ -121,7 +121,7 @@ addBtnElem.appendChild(buttonSpan); div.appendChild(addBtnElem); const userFragment = document.querySelector('.user-fragment'); -userFragment.insertBefore(div, parent.firstChild); +userFragment.insertBefore(div, userFragment.firstChild); function convertMonth(monthName) { const monthMap = {