mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
stop on error will now revert to default if could not be set
This commit is contained in:
parent
b316251337
commit
cc8de65a95
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ function setBlindMode(blind, nosave) {
|
|||
// }
|
||||
|
||||
function setStopOnError(soe, nosave) {
|
||||
if (soe == undefined) {
|
||||
if (soe == undefined || soe === true || soe === false) {
|
||||
soe = "off";
|
||||
}
|
||||
config.stopOnError = soe;
|
||||
|
|
Loading…
Reference in a new issue