diff options
| author | Jez Ng | 2012-03-01 16:42:14 -0500 |
|---|---|---|
| committer | Jez Ng | 2012-03-01 16:42:14 -0500 |
| commit | 5c6182d794e109515ccc30e2122e43a215c67077 (patch) | |
| tree | 00e29bb9b010de092f4f0d4931413d0c2cc6eff6 /vimiumFrontend.js | |
| parent | 652a90cf12fc8c7d45ec1b2c28689de43a28af39 (diff) | |
| download | vimium-5c6182d794e109515ccc30e2122e43a215c67077.tar.bz2 | |
Clarify comment on followLink behavior.
Diffstat (limited to 'vimiumFrontend.js')
| -rw-r--r-- | vimiumFrontend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js index ffaf3ea1..d1f0aac5 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -857,8 +857,8 @@ function followLink(linkElement) { if (linkElement.nodeName.toLowerCase() === 'link') window.location.href = linkElement.href; else { - // if we can click on it, don't simply set location.href: some pages listen for click events to fire off - // AJAX calls. + // if we can click on it, don't simply set location.href: some next/prev links are meant to trigger AJAX + // calls, like the 'more' button on GitHub's newsfeed. linkElement.scrollIntoView(); linkElement.focus(); domUtils.simulateClick(linkElement); |
