diff options
| author | Jez Ng | 2012-09-02 22:58:34 -0400 | 
|---|---|---|
| committer | Jez Ng | 2012-09-02 22:58:34 -0400 | 
| commit | 51bb56a0439de93a7e79b05d231c84fd6844a8a3 (patch) | |
| tree | 06373bae27dbb28d82518d8d7299eb9d94bc23da | |
| parent | f0f3a385bec153c931f8dcf651241b06c0dc6b2d (diff) | |
| download | vimium-51bb56a0439de93a7e79b05d231c84fd6844a8a3.tar.bz2 | |
Add comments describing the focusInput behavior.
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 577aa0c5..54a3bb2e 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -301,6 +301,9 @@ extend window,      HUD.showForDuration("Yanked URL", 1000)    focusInput: (count) -> +    # Focus the first input element on the page, and create overlays to highlight all the input elements, with +    # the currently-focused element highlighted specially. Tabbing will shift focus to the next input element. +    # Pressing any other key will remove the overlays and the special tab behavior.      resultSet = DomUtils.evaluateXPath(textInputXPath, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE)      visibleInputs =        for i in [0...resultSet.snapshotLength] by 1 | 
