From fb3e4c2706fed44f76ff24395a488f2601865e54 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Wed, 3 Jun 2015 04:15:24 +0100 Subject: Inline showFindModeHUDForQuery at its sole callsite --- content_scripts/vimium_frontend.coffee | 6 ------ 1 file changed, 6 deletions(-) (limited to 'content_scripts/vimium_frontend.coffee') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 9e4d2ab3..077da3fa 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -897,12 +897,6 @@ window.goNext = -> nextStrings = nextPatterns.split(",").filter( (s) -> s.trim().length ) findAndFollowRel("next") || findAndFollowLink(nextStrings) -window.showFindModeHUDForQuery = -> - matchCount = if findModeQuery.parsedQuery.length > 0 then findModeQuery.matchCount else 0 - showCount = findModeQuery.rawQuery.length > 0 - - HUD.updateMatchesCount matchCount, showCount - getCurrentRange = -> selection = getSelection() if selection.type == "None" -- cgit v1.2.3