pad: Fix application of padOptions values from settings.json

This commit is contained in:
Richard Hansen 2021-12-04 21:38:48 -05:00
parent f8b4189bc4
commit 99fae2ec6e
2 changed files with 7 additions and 1 deletions

View file

@ -148,7 +148,7 @@ const getParams = () => {
let value = clientVars.padOptions[setting.name];
if (value == null) continue;
value = value.toString();
if (value === setting.checkVal) {
if (value === setting.checkVal || setting.checkVal == null) {
setting.callback(value);
}
}