Skip to content

Commit

Permalink
fix: button location
Browse files Browse the repository at this point in the history
  • Loading branch information
dvirtz committed Jul 11, 2024
1 parent f14fa4d commit 121ce7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setlistfm-musicbrainz-import.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 121ce7a

Please sign in to comment.