From 3bf0e47ea57daaacce405e68d2f201f7d31325b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erlend=20Finva=CC=8Ag?= Date: Thu, 14 Apr 2011 16:36:38 +0200 Subject: [PATCH] fixed bug I accedently introduced in previous commit --- jquery.tagsinput.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jquery.tagsinput.js b/jquery.tagsinput.js index 7b3233e..5700068 100644 --- a/jquery.tagsinput.js +++ b/jquery.tagsinput.js @@ -32,7 +32,9 @@ value = jQuery.trim(value); if (options.unique) { skipTag = $(tagslist).tagExist(value); - } + } else { + skipTag = false; + } if (value !='' && skipTag != true) {