From 9b70f1398c752c126019b4a6d5506aaf2cdb78ba Mon Sep 17 00:00:00 2001 From: David Kellner <52860029+kellnerd@users.noreply.github.com> Date: Fri, 10 Dec 2021 16:52:42 +0100 Subject: [PATCH] expand-rg: Remove unused function parameter --- expand-collapse-release-groups.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/expand-collapse-release-groups.user.js b/expand-collapse-release-groups.user.js index 4eaf0a4..b39a197 100644 --- a/expand-collapse-release-groups.user.js +++ b/expand-collapse-release-groups.user.js @@ -3,7 +3,7 @@ // @description See what's inside a release group without having to follow its URL. Also adds convenient edit links for it. // @namespace http://userscripts.org/users/266906 // @author Michael Wiencek -// @version 2021.12.10 +// @version 2021.12.10.1 // @license GPL // @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/expand-collapse-release-groups.user.js // @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/expand-collapse-release-groups.user.js @@ -65,7 +65,7 @@ function inject_release_group_button(parent) { else parent.removeChild(table); }, function (json) { - parse_release_group(json, mbid, parent, table); + parse_release_group(json, mbid, table); }, function (status) { table.innerHTML = `Error loading release group (HTTP status ${status})`; @@ -159,7 +159,7 @@ function format_time(ms) { return `${Math.floor(ts / 60)}:${s >= 10 ? s : `0${s}`}`; } -function parse_release_group(json, mbid, parent, table) { +function parse_release_group(json, mbid, table) { let releases = json.releases; table.innerHTML = '';