mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Remove console output from index.html
This commit is contained in:
parent
e10ec70fb7
commit
3a20bfd939
@ -138,7 +138,6 @@ var dateToDisable = new Date();
|
|||||||
$('#datetimepicker11').datetimepicker({
|
$('#datetimepicker11').datetimepicker({
|
||||||
beforeShowDay: function(date) {
|
beforeShowDay: function(date) {
|
||||||
if (date.getMonth() == dateToDisable.getMonth() && date.getDate() == dateToDisable.getDate()) {
|
if (date.getMonth() == dateToDisable.getMonth() && date.getDate() == dateToDisable.getDate()) {
|
||||||
console.log("Disable date " + date.toDateString());
|
|
||||||
return [false, ""]
|
return [false, ""]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,7 +147,6 @@ $('#datetimepicker11').datetimepicker({
|
|||||||
$('#datetimepicker12').datetimepicker({
|
$('#datetimepicker12').datetimepicker({
|
||||||
beforeShowDay: function(date) {
|
beforeShowDay: function(date) {
|
||||||
if (date.getMonth() == dateToDisable.getMonth() && date.getDate() == dateToDisable.getDate()) {
|
if (date.getMonth() == dateToDisable.getMonth() && date.getDate() == dateToDisable.getDate()) {
|
||||||
console.log("Style date " + date.toDateString());
|
|
||||||
return [true, "custom-date-style"];
|
return [true, "custom-date-style"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user