mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
FIXED: input field does not appear (at all if “Display Credits at Bottom” is on) at the right place on tracks with span.mp or span.name-variation in work relationships or other secondary rank nodeset
This commit is contained in:
parent
9a654bec5b
commit
b5c1099a31
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
// ==UserScript==
|
||||
// @name MusicBrainz: Set recording comments for a release
|
||||
// @version 2015-04-07
|
||||
// @version 2015-07-10
|
||||
// @author Michael Wiencek
|
||||
// @namespace 790382e7-8714-47a7-bfbd-528d0caa2333
|
||||
// @downloadURL https://bitbucket.org/mwiencek/userscripts/raw/master/set-recording-comments.user.js
|
||||
|
@ -43,9 +43,9 @@ function setRecordingComments() {
|
|||
|
||||
$tracks.each(function () {
|
||||
var $td = $(this).children("td").eq(nameColumn),
|
||||
node = ($td.find(".mp")[0] ||
|
||||
$td.find(".name-variation")[0] ||
|
||||
$td.find("a[href*=\\/recording\\/]")[0]),
|
||||
node = ($td.children(".mp")[0] ||
|
||||
$td.children(".name-variation")[0] ||
|
||||
$td.children("a[href*=\\/recording\\/]")[0]),
|
||||
$input = $("<input />").addClass("recording-comment").insertAfter(node);
|
||||
|
||||
if (!editing) {
|
||||
|
|
Loading…
Reference in a new issue