From d357764ee779fb0aeb428fd88d5f00e3a1d91f24 Mon Sep 17 00:00:00 2001 From: David Kellner <52860029+kellnerd@users.noreply.github.com> Date: Fri, 6 May 2022 15:56:08 +0200 Subject: [PATCH] bandcamp_importer: Apply display style to all importer forms Fixes a display regression introduced by 79d894538eeb7e5777a054db26250f99a5313254. --- bandcamp_importer.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bandcamp_importer.user.js b/bandcamp_importer.user.js index bb3e443..16b462b 100644 --- a/bandcamp_importer.user.js +++ b/bandcamp_importer.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Import Bandcamp releases to MusicBrainz // @description Add a button on Bandcamp's album pages to open MusicBrainz release editor with pre-filled data for the selected release -// @version 2022.4.10.1 +// @version 2022.5.6.1 // @namespace http://userscripts.org/users/22504 // @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer.user.js // @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer.user.js @@ -229,7 +229,7 @@ const BandcampImport = { // Append MB import link $('#name-section').append(mbUI); document.querySelector('#mb_buttons').style.marginTop = '6px'; - document.querySelector('form.musicbrainz_import').style.display = 'inline-block'; + document.querySelectorAll('form.musicbrainz_import').forEach(form => (form.style.display = 'inline-block')); mbUI.slideDown(); },