From c009edbaa5d0613c56988f7745a423029b8c41a8 Mon Sep 17 00:00:00 2001 From: phosphore Date: Mon, 2 Feb 2015 22:19:48 +0100 Subject: [PATCH] Added fallthrough to use the comma button as enter --- src/bootstrap-tags.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap-tags.coffee b/src/bootstrap-tags.coffee index 927a618..08040a7 100644 --- a/src/bootstrap-tags.coffee +++ b/src/bootstrap-tags.coffee @@ -177,7 +177,7 @@ jQuery -> @keyDownHandler = (e) => k = (if e.keyCode? then e.keyCode else e.which) switch k - when 13 # enter (submit tag or selected suggestion) + when 13, 188 # enter (submit tag or selected suggestion) e.preventDefault() @pressedReturn(e) tag = e.target.value