hailwood / jQuery-Tagit

The Jquery Tagit Plugin transforms an html unordered list into a unique tagging plugin.
264 stars 109 forks source link

both colon and semicolon work to end tag input #64

Closed AAverin closed 11 years ago

AAverin commented 11 years ago

There's a major flaw in latest tagit update preveting users from inputing URL's in tags. Reason is in using keydown method to catch keyCodes, except of keypressed to cathh charCodes. So as a result keycode 59 for semicolon, that should finish tag input, now also yeilded for colon, because key is the same, but charCode(ASCII) differs. I'll work on a fix for that and make a pull request