diff options
| author | Stephen Blott | 2016-02-01 06:24:17 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-02-01 06:24:17 +0000 |
| commit | b5cb14171b3dbd48ebb213654f2758781d7f127c (patch) | |
| tree | 9b19e75bf26f69ec8ae254811433d7e36e77699b | |
| parent | da006481be45d58972982aac44d372450204e6fa (diff) | |
| download | vimium-b5cb14171b3dbd48ebb213654f2758781d7f127c.tar.bz2 | |
Use a count with link hints; better comment.
| -rw-r--r-- | content_scripts/link_hints.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index dba55c9d..6f95ac57 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -22,8 +22,8 @@ LinkHints = activateMode: (count = 1, mode = OPEN_IN_CURRENT_TAB) -> if 0 < count new LinkHintsMode mode, (event = null) -> - # Escape and Backspace are the two ways in which hints mode can exit following which we do no restart - # hints mode. + # This is called which LinkHintsMode exits. Escape and Backspace are the two ways in which hints mode + # can exit following which we do not restart hints mode. return if event?.type == "keydown" and KeyboardUtils.isEscape event return if event?.type == "keydown" and event.keyCode in [ keyCodes.backspace, keyCodes.deleteKey ] LinkHints.activateMode count-1, mode |
