diff options
| author | Stephen Blott | 2015-01-02 13:22:31 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-02 13:23:32 +0000 |
| commit | b179d80ac9c35eb85de3995e4c4fb7dc9945ed75 (patch) | |
| tree | 99d96777f6a175c396ac132dca16526c5f96f1e6 /content_scripts/mode.coffee | |
| parent | 298ee34b1c90b0203a74a2d158858428475bfd95 (diff) | |
| download | vimium-b179d80ac9c35eb85de3995e4c4fb7dc9945ed75.tar.bz2 | |
Modes; fix badges.
Diffstat (limited to 'content_scripts/mode.coffee')
| -rw-r--r-- | content_scripts/mode.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee index 468f587a..9016caa2 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -56,8 +56,7 @@ class Mode # Default updateBadgeForMode handler. This is overridden by sub-classes. The default is to install the # current mode's badge, unless the bade is already set. updateBadgeForMode: (badge) -> - badge.badge ||= @badge - Mode.propagate + handlerStack.alwaysPropagate => badge.badge ||= @badge # Static method. Used externally and internally to initiate bubbling of an updateBadgeForMode event. @updateBadge: -> |
