mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2025-03-04 14:27:14 +00:00
Update mb_ui_enhancements.user.js
This commit is contained in:
parent
17599bcda9
commit
b10b44f887
1 changed files with 0 additions and 2 deletions
|
@ -74,12 +74,10 @@ $(document).ready(function () {
|
|||
);
|
||||
if (window.location.href.match(re)) {
|
||||
if ($("#sidebar h2:contains('Release information')").length > 0 ) {
|
||||
$("#sidebar h2:contains('Release information')").before($("#sidebar h2:contains('Release information')"));
|
||||
var mbid = window.location.href.match(re)[2];
|
||||
$("#sidebar h2:contains('Release information')").before(`<h2 class="mbid">MBID</h2><p>${mbid}<p>`);
|
||||
}
|
||||
else if ($("#sidebar h2:contains('Recording information')").length > 0) {
|
||||
$("#sidebar h2:contains('Recording information')").before($("#sidebar h2:contains('Recording information')"));
|
||||
var mbid = window.location.href.match(re)[2];
|
||||
$("#sidebar h2:contains('Recording information')").before(`<h2 class="mbid">MBID</h2><p>${mbid}<p>`);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue