frontello-ui-datepicker
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -13,2 +13,4 @@ "use strict"; | ||
minuteStep: 1, | ||
activatedOnMobileDevices: false, | ||
mobileDevicesAgentRegex: 'Android|iPad|iPhone|iPod', | ||
dateChange: (date) => { | ||
@@ -32,2 +34,8 @@ this.field.value = date.getDateForHtmlInput(); | ||
this.isAnMobileDevices = ((new RegExp(this.config.mobileDevicesAgentRegex)).test(navigator.userAgent)); | ||
if (!this.config.activatedOnMobileDevices && this.isAnMobileDevices) { | ||
return; | ||
} | ||
this.timePicking = this.field.type == 'datetime-local'; | ||
@@ -34,0 +42,0 @@ |
{ | ||
"name": "frontello-ui-datepicker", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "Efficient vanilla datepicker", | ||
@@ -5,0 +5,0 @@ "main": "datepicker.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32721
1019