mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-04 16:09:13 +00:00
Fix lint and formatting issues on existing code
I didn't change this part of the code, but since Prettier and ESLint decided to complain about it (and fix it on my local), might as well commit it. 😀
This commit is contained in:
parent
2b49a0faa6
commit
478ac7d1e2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
// ==UserScript==
|
||||
// ==UserScript==
|
||||
// @name Musicbrainz UI enhancements
|
||||
// @description Various UI enhancements for Musicbrainz
|
||||
// @version 2023.4.23.1
|
||||
|
@ -264,7 +264,7 @@ $(document).ready(function () {
|
|||
} else if (link.href.match(/apple.com/)) {
|
||||
id = new URL(link.href).pathname.split('/', 5).slice(-1)[0].replace('id', '');
|
||||
fragment = 'itu';
|
||||
country = new URL(link.href).pathname.split('/',2)[1];
|
||||
country = new URL(link.href).pathname.split('/', 2)[1];
|
||||
} else if (link.href.match(/spotify.com/)) {
|
||||
id = new URL(link.href).pathname.split('/', 5).slice(-1)[0];
|
||||
fragment = 'spf';
|
||||
|
|
Loading…
Reference in a new issue