Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/assets/js/util/index.js')
-rw-r--r--web/assets/js/util/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/assets/js/util/index.js b/web/assets/js/util/index.js
index 4bf760d7..bb47f538 100644
--- a/web/assets/js/util/index.js
+++ b/web/assets/js/util/index.js
@@ -326,6 +326,14 @@ class ObjectUtil {
return false;
}
}
+ for (const key in b) {
+ if (!b.hasOwnProperty(key)) {
+ continue;
+ }
+ if (!a.hasOwnProperty(key)) {
+ return false;
+ }
+ }
return true;
}
}