diff --git a/src/jquery.tagsinput.js b/src/jquery.tagsinput.js index b6c75e4..9df3023 100644 --- a/src/jquery.tagsinput.js +++ b/src/jquery.tagsinput.js @@ -330,7 +330,7 @@ //Removes the not_valid class when user changes the value of the fake input if(data.unique) { $(data.fake_input).keydown(function(event){ - if(event.keyCode == 8 || String.fromCharCode(event.which).match(/\w+|[áéíóúÁÉÍÓÚñÑ,/]+/)) { + if(event.keyCode == 8 || String.fromCharCode(event.which).match(/\w+|[áéíóúÁÉÍÓÚñÑ,\/]+/)) { $(this).removeClass('not_valid'); } });