Skip to content

Commit

Permalink
stop on error will now revert to default if could not be set
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Aug 15, 2020
1 parent b316251 commit cc8de65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/userconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc8de65

Please sign in to comment.