Rename method
Method scope widened in #1354. Changing its name here to avoid merge conflicts later.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user