diff --git a/mb_qol_inline_recording_tracks.user.js b/mb_qol_inline_recording_tracks.user.js index 1464f704..baa1d5ad 100644 --- a/mb_qol_inline_recording_tracks.user.js +++ b/mb_qol_inline_recording_tracks.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name MB: QoL: Inline all recording's tracks on releases -// @version 2024.5.8 +// @version 2024.5.25 // @description Display all tracks and releases on which a recording appears from the release page. // @author ROpdebee // @license MIT; https://opensource.org/licenses/MIT @@ -73,7 +73,7 @@ function getTrackIndices(media) { function getReleaseName(release) { let releaseComment = release.disambiguation || ''; - return `${release.title}` + (releaseComment ? ` (${releaseComment})` : ''); + return `${release.title}` + (releaseComment ? ` (${releaseComment})` : ''); } function formatRow(release) { @@ -82,8 +82,8 @@ function formatRow(release) { function insertRows(recordingTd, recordingInfo) { let rowElements = recordingInfo.releases + .sort(compareReleases) .map(formatRow) - .sort() .map(row => '