updated limit

This commit is contained in:
Jack 2020-07-02 21:51:23 +01:00
parent 246b28a192
commit e9951a6134

View file

@ -1610,7 +1610,7 @@ $(document).on("click", "#top .config .time .text-button", (e) => {
time = $(e.currentTarget).attr('timeConfig');
if(time == "custom"){
let newTime = prompt('Custom time in seconds');
if(newTime !== null && !isNaN(newTime) && newTime > 0 && newTime < 3600){
if(newTime !== null && !isNaN(newTime) && newTime > 0 && newTime <= 3600){
changeTimeConfig(newTime);
if(newTime >= 1800){
showNotification("Very long tests can cause performance issues or crash the website on some machines!",5000);