diff options
| author | Stephen Blott | 2016-05-12 07:21:07 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-05-12 07:21:07 +0100 | 
| commit | 22f0ed9c3c63ecbc4fc2413dc5235a9489d9cf25 (patch) | |
| tree | 9b4c0d499341fb069319ddb7754a3fbf8a7bf0b1 /content_scripts | |
| parent | 25587a5ae039dc8a1f57a441195b0b93dc8a3475 (diff) | |
| download | vimium-22f0ed9c3c63ecbc4fc2413dc5235a9489d9cf25.tar.bz2 | |
Revert "Improves next/previous links by targetting button elements and adding single left/right angle quotation marks"
This reverts commit ee8c235aeaf52d2bc867a00c37731690e337c7ff.
This reverts #2117.
This breaks next/prev on Reddit (it chooses a different link).
Reddit is an important site, so we should unwind this for now.
Mention @sco-tt.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 07322250..59403344 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -543,7 +543,7 @@ followLink = (linkElement) ->  # next big thing', and 'more' over 'nextcompany', even if 'next' occurs before 'more' in :linkStrings.  #  findAndFollowLink = (linkStrings) -> -  linksXPath = DomUtils.makeXPath(["a", "button", "*[@onclick or @role='link' or contains(@class, 'button')]"]) +  linksXPath = DomUtils.makeXPath(["a", "*[@onclick or @role='link' or contains(@class, 'button')]"])    links = DomUtils.evaluateXPath(linksXPath, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE)    candidateLinks = [] | 
