From 14685b318ae056cf9011ba2dcc73c077c3ae5a2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 3 Apr 2023 18:16:43 +0200 Subject: [PATCH] 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 --- src/selector.js | 2 -- 1 file changed, 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; -- 2.39.5