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:
Luciano Paciornick 2023-04-23 17:30:46 -04:00 committed by Aurélien Mino
parent 2b49a0faa6
commit 478ac7d1e2

View file

@ -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';