diff options
| author | Stephen Blott | 2015-01-02 11:47:42 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-02 12:08:35 +0000 |
| commit | 298ee34b1c90b0203a74a2d158858428475bfd95 (patch) | |
| tree | 74a634c247bb0108701adafe7acd7397cf15166f /lib | |
| parent | 6d471844497ff35b83296d7da34830288696f029 (diff) | |
| download | vimium-298ee34b1c90b0203a74a2d158858428475bfd95.tar.bz2 | |
Modes; fix insert mode.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/handler_stack.coffee | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee index 8de6ec12..f56683f1 100644 --- a/lib/handler_stack.coffee +++ b/lib/handler_stack.coffee @@ -46,5 +46,10 @@ class HandlerStack isChromeEvent: (event) -> event?.preventDefault? and event?.stopImmediatePropagation? + # Convenience wrapper for handlers which always continue propagation. + alwaysPropagate: (handler) -> + handler() + true + root.HandlerStack = HandlerStack root.handlerStack = new HandlerStack |
