mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
discogs: minor indentation fix
This commit is contained in:
parent
92626ce158
commit
7fd6f5aa00
1 changed files with 2 additions and 1 deletions
|
@ -475,7 +475,8 @@ function parseDiscogsRelease(data) {
|
|||
if (discogsRelease.released) {
|
||||
var releasedate = discogsRelease.released;
|
||||
if (typeof releasedate != "undefined" && releasedate != "") {
|
||||
var tmp = releasedate.split('-'); if (tmp[0] != "undefined" && tmp[0] != "") {
|
||||
var tmp = releasedate.split('-');
|
||||
if (tmp[0] != "undefined" && tmp[0] != "") {
|
||||
release.year = parseInt(tmp[0], 10);
|
||||
if (tmp[1] != "undefined" && tmp[1] != "") {
|
||||
release.month = parseInt(tmp[1], 10);
|
||||
|
|
Loading…
Reference in a new issue