aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/ui_component.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-04-17 11:54:28 +0100
committerStephen Blott2016-04-17 11:54:28 +0100
commit5c3e4bda2968486e23f8cc3410e776de67fec849 (patch)
tree38743486ac59f76462d6d6da9c8c90038c467834 /content_scripts/ui_component.coffee
parentd43f18bd5ce7c39e8e663a657027b233707e2926 (diff)
downloadvimium-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