Open willberger opened 9 years ago
Possible fix (works but probably needs more testing):
var parsedChar = String.fromCharCode(e.which); if (e.which > 95 && e.which < 106) { parsedChar = (e.which - 96).toString(); } // Append the data-filter with typed character $sod.data("filter", $sod.data("filter") + parsedChar);
For example if you press "1" on the num pad String.fromCharCode(e.which) will return "a"