mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
pad: Fix application of padOptions
values from settings.json
This commit is contained in:
parent
f8b4189bc4
commit
99fae2ec6e
2 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue