mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-02-23 02:35:07 +08:00
updated limit
This commit is contained in:
parent
246b28a192
commit
e9951a6134
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue