Update custom.html

master
Ronin0000 2021-11-21 07:58:22 -08:00 committed by GitHub
parent d42fe03dc8
commit 7f7dcb0bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@
nowIndicator: true, nowIndicator: true,
editable: true, editable: true,
height: 600, height: 600,
initialDate: '2018-06-01', // will be parsed as local
select: function(arg) { select: function(arg) {
var title = prompt('Event Title:'); var title = prompt('Event Title:');
if (title) { if (title) {
@ -61,6 +62,7 @@
}) })
} }
calendar.unselect() calendar.unselect()
}, },
eventClick: function(arg) { eventClick: function(arg) {
if (confirm('Are you sure you want to delete this event?')) { if (confirm('Are you sure you want to delete this event?')) {
@ -69,7 +71,6 @@
}, },
}); });
calendar.render(); calendar.render();
calendar.gotoDate(2021-01-10);
}); });
// When the 'upload' button is clicked... // When the 'upload' button is clicked...