Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Use :focus instead of document.activeElement
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Sep 2, 2012
1 parent a4725ed commit 040878e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.js
Expand Up @@ -2888,7 +2888,7 @@ function Modal(api)
docBody.bind('focusin'+namespace, stealFocus);

// Blur the current item and focus anything in the modal we an
focusInputs( $(document.activeElement) );
focusInputs( $('body :focus') );
}
}
else {
Expand Down

0 comments on commit 040878e

Please sign in to comment.