mirego/bootstrap-tagsinput — pull request #1 by remiprev (2014-04-04 15:26:21+00:00)
Title: Do not add empty tags with confirmKeys

(*Nouvelle pull request dans notre fork… :blush:*)

When the input has some text in it, pressing `` (or any of the `confirmKeys`) will add the text as a tag:

![](http://i.imgur.com/Y5vKcUk.png)

But when the input is empty, it pressing any of the `confirmKeys` should keep the default behavior (and submit the form):

![](http://i.imgur.com/jCiHMzA.png)