diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-04-03 18:16:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 18:16:43 +0200 |
commit | 14685b318ae056cf9011ba2dcc73c077c3ae5a2d (patch) | |
tree | d5ddbc7f248ed14c45cb8cbea6e3dbf17dc370e2 | |
parent | 759232e5af0eeba3c3107b6e8d20ab79aaf6ca6e (diff) | |
download | jquery-14685b318ae056cf9011ba2dcc73c077c3ae5a2d.tar.gz jquery-14685b318ae056cf9011ba2dcc73c077c3ae5a2d.zip |
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
-rw-r--r-- | src/selector.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/selector.js b/src/selector.js index 2c8f04556..49d29c908 100644 --- a/src/selector.js +++ b/src/selector.js @@ -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; |