Skip to content

Commit

Permalink
Selector: Remove an obsolete comment
Browse files Browse the repository at this point in the history
There was a comment claiming that there are two implementations
of `safeActiveElement`. However, the one in `event.js` got removed
in gh-5224, even before the comment was added.

This commit removes this obsolete comment.

Closes gh-5237
Ref gh-5224
  • Loading branch information
mgol committed Apr 3, 2023
1 parent 759232e commit 14685b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ var i,
// Support: IE <=9 only
// Accessing document.activeElement can throw unexpectedly
// https://bugs.jquery.com/ticket/13393
// An identical function exists in `src/event.js` but they use different
// `documents` so it cannot be easily extracted.
function safeActiveElement() {
try {
return document.activeElement;
Expand Down

0 comments on commit 14685b3

Please sign in to comment.