draggable-number.js
draggable-number.js copied to clipboard
fix Enter key detection
Current implementation use the "KeyboardEvent.charCode" attribute, but "KeyboardEvent.keyCode" is sometimes used (this is the case of Firefox).
Use the "KeyboardEvent.key" attribute instead, but fallback to "charCode" and "keyCode" (both being deprecated, but "key" being not widely used).
Also bump the version number, update the build files.