intelliwaketssveltekitv25 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Functions.js +2 -0
- package/package.json +1 -1
package/dist/Functions.js
CHANGED
|
@@ -677,6 +677,8 @@ export function DownloadURL(url, filename) {
|
|
|
677
677
|
a.remove();
|
|
678
678
|
}
|
|
679
679
|
export function HandleKeyDownNumerics(event, allowDecimals = true, allowNegative = false) {
|
|
680
|
+
if (!event.key)
|
|
681
|
+
return;
|
|
680
682
|
if (!allowDecimals && event.key === '.') {
|
|
681
683
|
event.preventDefault();
|
|
682
684
|
return;
|