diff options
| author | Stephen Blott | 2016-04-17 11:54:28 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-17 11:54:28 +0100 |
| commit | 5c3e4bda2968486e23f8cc3410e776de67fec849 (patch) | |
| tree | 38743486ac59f76462d6d6da9c8c90038c467834 /content_scripts/ui_component.coffee | |
| parent | d43f18bd5ce7c39e8e663a657027b233707e2926 (diff) | |
| download | vimium-5c3e4bda2968486e23f8cc3410e776de67fec849.tar.bz2 | |
Better window focus handling.
This fixes two issues:
- We cannot set windowHasFocus until the DOM is ready (because
document.hasFocus isn't set until then.
- We should use windowhasFocus in prefernce to document.hasFocus
because, for framesets, document.hasFocus is true for both the
frameset and a focused contained frame.
Diffstat (limited to 'content_scripts/ui_component.coffee')
0 files changed, 0 insertions, 0 deletions
