diff options
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 676014f5..8ce28382 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -804,12 +804,12 @@ findAndFollowRel = (value) -> window.goPrevious = -> previousPatterns = settings.get("previousPatterns") || "" - previousStrings = previousPatterns.split(",").filter((s) -> s.length) + previousStrings = previousPatterns.split(",").filter( (s) -> s.trim().length ) findAndFollowRel("prev") || findAndFollowLink(previousStrings) window.goNext = -> nextPatterns = settings.get("nextPatterns") || "" - nextStrings = nextPatterns.split(",").filter((s) -> s.length) + nextStrings = nextPatterns.split(",").filter( (s) -> s.trim().length ) findAndFollowRel("next") || findAndFollowLink(nextStrings) showFindModeHUDForQuery = -> |
