stop on error will now revert to default if could not be set

This commit is contained in:
Jack 2020-08-15 21:40:53 +01:00
parent b316251337
commit cc8de65a95

View file

@ -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;