diff --git a/api/js/etemplate/et2_core_DOMWidget.ts b/api/js/etemplate/et2_core_DOMWidget.ts index df8eb6a6cf..36cf8d26a5 100644 --- a/api/js/etemplate/et2_core_DOMWidget.ts +++ b/api/js/etemplate/et2_core_DOMWidget.ts @@ -349,7 +349,7 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode { // Find the tab by DOM heritage // @ts-ignore - if(tabbox.tabData[i].contentDiv?.contains(this.getDOMNode() || this)) + if(tabbox.tabData[i].contentDiv?.contains(this.getDOMNode(this) || this)) { return tabbox.tabData[i]; }