Fix maintenance end time

pull/1/head
yflory 4 years ago
parent a41d70ab6b
commit 34964ba598

@ -1170,7 +1170,7 @@ define([
// Extract form data // Extract form data
getData = function () { getData = function () {
var start = +new Date($start.val()); var start = +new Date($start.val());
var end = +new Date($start.val()); var end = +new Date($end.val());
if (isNaN(start) || isNaN(end)) { if (isNaN(start) || isNaN(end)) {
console.error('Invalid dates'); console.error('Invalid dates');
return false; return false;

Loading…
Cancel
Save