Fixed « Cannot convert 'parent.…' to object »

This commit is contained in:
jesus2099 2015-09-04 19:21:01 +02:00
parent 00ef8e804d
commit 52158866e0

View file

@ -3,10 +3,11 @@
// @description See what's inside a release group without having to follow its URL. Also adds convenient edit links for it. // @description See what's inside a release group without having to follow its URL. Also adds convenient edit links for it.
// @namespace http://userscripts.org/users/266906 // @namespace http://userscripts.org/users/266906
// @author Michael Wiencek <mwtuea@gmail.com> // @author Michael Wiencek <mwtuea@gmail.com>
// @version 6.1.2 // @version 6.1.3
// @license GPL // @license GPL
// @downloadURL https://bitbucket.org/mwiencek/userscripts/raw/master/expand-collapse-release-groups.user.js // @downloadURL https://bitbucket.org/mwiencek/userscripts/raw/master/expand-collapse-release-groups.user.js
// @updateURL https://bitbucket.org/mwiencek/userscripts/raw/master/expand-collapse-release-groups.user.js // @updateURL https://bitbucket.org/mwiencek/userscripts/raw/master/expand-collapse-release-groups.user.js
// @grant none
// @include *://musicbrainz.org/artist/* // @include *://musicbrainz.org/artist/*
// @include *://musicbrainz.org/label/* // @include *://musicbrainz.org/label/*
// @include *://musicbrainz.org/release-group/* // @include *://musicbrainz.org/release-group/*
@ -25,6 +26,9 @@
// @match *://test.musicbrainz.org/artist/* // @match *://test.musicbrainz.org/artist/*
// @match *://test.musicbrainz.org/label/* // @match *://test.musicbrainz.org/label/*
// @match *://test.musicbrainz.org/release-group/* // @match *://test.musicbrainz.org/release-group/*
// @exclude *musicbrainz.org/artist/*/*
// @exclude *musicbrainz.org/label/*/*
// @exclude *musicbrainz.org/release-group/*/*
// ==/UserScript== // ==/UserScript==
var MBID_REGEX = /[0-9a-z]{8}\-[0-9a-z]{4}\-[0-9a-z]{4}\-[0-9a-z]{4}\-[0-9a-z]{12}/, var MBID_REGEX = /[0-9a-z]{8}\-[0-9a-z]{4}\-[0-9a-z]{4}\-[0-9a-z]{4}\-[0-9a-z]{12}/,