mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-13 03:42:27 +00:00
Merge pull request #225 from reosarevok/patch-2
Update childNode after React conversion
This commit is contained in:
commit
5c3dd47709
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ header.appendChild(headerColumn);
|
|||
// We add the links to the recordings
|
||||
for (let i = 0; i < recordings.length; i++) {
|
||||
const recordingRow = recordings[i];
|
||||
const recordingUrl = recordingRow.childNodes[3].childNodes[0].getAttribute('href');
|
||||
const recordingUrl = recordingRow.childNodes[1].childNodes[0].getAttribute('href');
|
||||
const extraCell = document.createElement('td');
|
||||
extraCell.innerHTML = `<a href="${recordingUrl}/edit">edit</a>`;
|
||||
recordingRow.appendChild(extraCell);
|
||||
|
|
Loading…
Reference in a new issue