Rename method

Method scope widened in #1354. Changing its name here to
avoid merge conflicts later.
This commit is contained in:
hunicus
2022-03-12 16:07:45 -05:00
parent b71df774f5
commit 142566f4f9
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ export class ApiDocsComponent implements OnInit {
});
}
scrollSameId( event: any ) {
anchorLinkClick( event: any ) {
const targetId = event.target.hash.substring(1);
if( this.route.snapshot.fragment === targetId ) {
document.getElementById( targetId ).scrollIntoView();