mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
[Settings] fixed data-empty usage within checkboxes
This commit is contained in:
@@ -21,7 +21,7 @@ define('settings/checkbox', function () {
|
||||
if (value == null) {
|
||||
return void 0;
|
||||
}
|
||||
if (empty) {
|
||||
if (!empty) {
|
||||
return value || void 0;
|
||||
}
|
||||
if (trim) {
|
||||
|
||||
Reference in New Issue
Block a user