From 3794c8a5bf71d54a1a2000de111fe338fb060297 Mon Sep 17 00:00:00 2001 From: Julian Anderson Date: Sun, 24 Nov 2024 19:46:39 -0500 Subject: [PATCH] mb-reledit-copy_dates: fix selector (#96) 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. --- mb-reledit-copy_dates.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mb-reledit-copy_dates.user.js b/mb-reledit-copy_dates.user.js index d10c3ef..2cae0ef 100644 --- a/mb-reledit-copy_dates.user.js +++ b/mb-reledit-copy_dates.user.js @@ -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 @@ -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) => {