Selector: Remove an obsolete comment

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
This commit is contained in:
Michał Gołębiowski-Owczarek 2023-04-03 18:16:43 +02:00 committed by GitHub
parent 759232e5af
commit 14685b318a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,8 +166,6 @@ var i,
// Support: IE <=9 only // Support: IE <=9 only
// Accessing document.activeElement can throw unexpectedly // Accessing document.activeElement can throw unexpectedly
// https://bugs.jquery.com/ticket/13393 // 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() { function safeActiveElement() {
try { try {
return document.activeElement; return document.activeElement;