fix hours bug
This commit is contained in:
@@ -267,7 +267,7 @@
|
||||
fd.append("file", file);
|
||||
fd.append("once", document.getElementById("once").checked ? "true" : "false");
|
||||
const hours = parseInt(document.getElementById("duration").value, 10);
|
||||
fd.append("duration", hours * 3600); // convert hours to seconds
|
||||
fd.append("duration", hours);
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
currentXhr = xhr;
|
||||
|
||||
Reference in New Issue
Block a user