Skip to content

Commit 78a2308

Browse files
Merge pull request #926 from JoshuaKGoldberg/get-element-by-id-comment
Removed incorrect info from getElementById comment
2 parents cf24210 + 052d421 commit 78a2308

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4747,8 +4747,8 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
47474747
exitPointerLock(): void;
47484748
getAnimations(): Animation[];
47494749
/**
4750-
* Returns a reference to the first object with the specified value of the ID or NAME attribute.
4751-
* @param elementId String that specifies the ID value. Case-insensitive.
4750+
* Returns a reference to the first object with the specified value of the ID attribute.
4751+
* @param elementId String that specifies the ID value.
47524752
*/
47534753
getElementById(elementId: string): HTMLElement | null;
47544754
/**

inputfiles/comments.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@
834834
"comment": "/**\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\n */"
835835
},
836836
"getElementById": {
837-
"comment": "/**\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\n * @param elementId String that specifies the ID value. Case-insensitive.\n */"
837+
"comment": "/**\n * Returns a reference to the first object with the specified value of the ID attribute.\n * @param elementId String that specifies the ID value.\n */"
838838
}
839839
}
840840
}

0 commit comments

Comments
 (0)