Skip to content

Commit

Permalink
'#2351 corrects js call.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdalla committed Oct 28, 2024
1 parent 1c2b28d commit 685cdce
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ private void parseObject(String name, NSObject object, NSArray objects, Set<NSOb
if (alreadyVisitedObjects.contains(obj)) {
xhtml.startElement("details", "open", "true");
xhtml.startElement("summary", "class", "is-expandable");
xhtml.startElement("a", "onclick", "document.getElementById('myDiv').scrollIntoView(" + getUUIDInteger(uid) + ");");
xhtml.startElement("a", "onclick", "clickUID(" + getUUIDInteger(uid) + ");");
xhtml.characters("[Object link]");
xhtml.endElement("a");
xhtml.endElement("summary");
xhtml.startElement("details", "open", "true");
xhtml.endElement("details");
return;
} else {
alreadyVisitedObjects.add(obj);
}
Expand Down

0 comments on commit 685cdce

Please sign in to comment.