diff --git a/tools/devtools/src/page_scripts/owl_devtools_global_hook.js b/tools/devtools/src/page_scripts/owl_devtools_global_hook.js index e447a8d7e..aff5b9092 100644 --- a/tools/devtools/src/page_scripts/owl_devtools_global_hook.js +++ b/tools/devtools/src/page_scripts/owl_devtools_global_hook.js @@ -748,7 +748,7 @@ child.contentType = "object"; child.content = this.serializer.serializeItem(Object.getPrototypeOf(parentObj), true); child.hasChildren = true; - if (!oldTree && type === "env") { + if (!oldTree && type === "env" && Object.getPrototypeOf(parentObj) !== Object.prototype) { child.toggled = true; } break;