Skip to content
Snippets Groups Projects
Commit 537edc5c authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

Make hasFocus use document.activeElement, rather than internal flag

This way, it synchronously returns the current value, rather
than only being updated when an async focus/blur event fires.

Closes #2151
parent 087d37cb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment