Skip to content

Commit

Permalink
Fix: NAME not linked to GVIN+SURN
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Dec 25, 2022
1 parent ce87169 commit 5e3fe7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/edit/input-addon-edit-name.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use Fisharebest\Webtrees\I18N;
let NAME = document.getElementById('<?= e($id) ?>');
let container = NAME.parentNode.parentNode.parentNode;

if (NAME.id.endsWith('-INDI:NAME')) {
if (NAME.id.endsWith('-INDI-NAME')) {
// NAME has children at the same level.
container = container.parentNode;
} else {
Expand Down

0 comments on commit 5e3fe7e

Please sign in to comment.