mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
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:
parent
759232e5af
commit
14685b318a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user