Skip to content

Commit

Permalink
mb-reledit-copy_dates: fix selector (#96)
Browse files Browse the repository at this point in the history
The MusicBrainz Server relationship editor has changed recently,
preventing the userscript in question from working properly. The edit in
this commit has been reported as returning this userscript to a working
state.
  • Loading branch information
julian45 authored Nov 25, 2024
1 parent 6a3cb3b commit 3794c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mb-reledit-copy_dates.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @name MusicBrainz relation editor: Copy dates on recording relations
// @namespace mbz-loujine
// @author loujine
// @version 2023.3.6
// @version 2024.4.11
// @downloadURL https://raw.githubusercontent.com/loujine/musicbrainz-scripts/master/mb-reledit-copy_dates.user.js
// @updateURL https://raw.githubusercontent.com/loujine/musicbrainz-scripts/master/mb-reledit-copy_dates.user.js
// @supportURL https://github.com/loujine/musicbrainz-scripts
Expand Down Expand Up @@ -79,7 +79,7 @@ async function applyNewDate(rel, dateProps) {
});
await helper.delay(1);

document.querySelector('.dialog-content button.positive').click();
document.querySelector('.relationship-dialog button.positive').click();
}

const propagateDates = (replace) => {
Expand Down

0 comments on commit 3794c8a

Please sign in to comment.