From 786b8ba0854b71e7bee00248b3ee29da357ba8d0 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Wed, 28 Jan 2015 10:32:53 +0000 Subject: Visual/edit modes: yet more minor changes. - Use a has for singletons (as it was previously), but with a distinct identity generated by Utils.getIdentity. - Fix counts not be using in a number of places. --- content_scripts/mode_find.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts/mode_find.coffee') diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee index c0b97b16..67f2a7dc 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -35,7 +35,7 @@ class PostFindMode extends SuppressPrintable name: "post-find" # We show a "?" badge, but only while an Escape activates insert mode. badge: "?" - # Important. PostFindMode shares a singleton with the modes launched by focusInput. + # PostFindMode shares a singleton with the modes launched by focusInput; each displaces the other. singleton: element exitOnBlur: element exitOnClick: true -- cgit v1.2.3