price-format/Jquery-Price-Format

MAC OS X and 0 (zero) character

sigee opened this issue · 0 comments

Hi!

When I pressed my 0 character up to the tab button on my MAC It didn't do anything.
It is because this 0 character has unallowed keycode: 192.
I have to hack your script:
function key_check (e)
{
var code = (e.keyCode ? e.keyCode : e.which);
/** MAC hack */
if(code === 192){
code = 96;
}
...
}

Pleas fix this BUG.