aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_find.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-04-18 07:45:30 +0100
committerStephen Blott2015-04-18 07:45:30 +0100
commit6224319dcfa5eed1d9d9fab3a5fc2d0c20b70c2e (patch)
tree36927befe9dac34897df94aee76c6086676407ab /content_scripts/mode_find.coffee
parente5a2dee7d1a09d593cc721d9a6c8d95638270a76 (diff)
downloadvimium-6224319dcfa5eed1d9d9fab3a5fc2d0c20b70c2e.tar.bz2
Mode indicator: strip all references to badges.
Diffstat (limited to 'content_scripts/mode_find.coffee')
-rw-r--r--content_scripts/mode_find.coffee9
1 files changed, 0 insertions, 9 deletions
diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee
index 67f2a7dc..ed08fbd5 100644
--- a/content_scripts/mode_find.coffee
+++ b/content_scripts/mode_find.coffee
@@ -33,8 +33,6 @@ class PostFindMode extends SuppressPrintable
super
name: "post-find"
- # We show a "?" badge, but only while an Escape activates insert mode.
- badge: "?"
# PostFindMode shares a singleton with the modes launched by focusInput; each displaces the other.
singleton: element
exitOnBlur: element
@@ -54,14 +52,7 @@ class PostFindMode extends SuppressPrintable
@suppressEvent
else
handlerStack.remove()
- @badge = ""
- Mode.updateBadge()
@continueBubbling
- updateBadge: (badge) ->
- badge.badge ||= @badge
- # Suppress the "I" badge from insert mode.
- InsertMode.suppressEvent badge # Always truthy.
-
root = exports ? window
root.PostFindMode = PostFindMode