Skip to content

Commit 6e578cf

Browse files
Link hasFocus & activeElement to each other (mdn#19957)
1 parent fad03a4 commit 6e578cf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

files/en-us/web/api/document/activeelement/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ textarea2.addEventListener('mouseup', onMouseUp, false);
8787
## Browser compatibility
8888

8989
{{Compat}}
90+
91+
## See also
92+
93+
- {{domxref("Document.hasFocus")}}

files/en-us/web/api/document/hasfocus/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,5 @@ setInterval(checkPageFocus, 300);
8787

8888
## See also
8989

90+
- {{domxref("Document.activeElement")}}
9091
- [Using the Page Visibility API](/en-US/docs/Web/API/Page_Visibility_API)

0 commit comments

Comments
 (0)