aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/json-schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/json-schema.js')
-rw-r--r--ext/bg/js/json-schema.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/json-schema.js b/ext/bg/js/json-schema.js
index 49f1e082..0ca1183e 100644
--- a/ext/bg/js/json-schema.js
+++ b/ext/bg/js/json-schema.js
@@ -134,7 +134,7 @@ class JsonSchemaProxyHandler {
const additionalProperties = schema.additionalProperties;
if (additionalProperties === false) {
return null;
- } if (JsonSchemaProxyHandler.isObject(additionalProperties)) {
+ } else if (JsonSchemaProxyHandler.isObject(additionalProperties)) {
return additionalProperties;
} else {
return JsonSchemaProxyHandler._unconstrainedSchema;