sniperwolf / taggingJS

jQuery plugin to tagging like a charm!
http://sniperwolf.github.io/taggingJS/
MIT License
933 stars 151 forks source link

Error with ',' key when using non-english keyboard layouts #34

Open vizvamitra opened 9 years ago

vizvamitra commented 9 years ago

Today I found a bug: in russian layout, ',' key is a 'Б' letter, not a coma, but pressing is still saves currently typed tag and starts another. Also, entering coma (which is another key in russian layout) doesn't do it.

You probably should check character, not a key code in your keypress callback

nemo1112 commented 8 years ago

I have this problem too. I there anyway to disable ',' to save tag?

Update

just set comma to true. $(".tag-box").tagging({ "no-comma": true });