Additional fix for 9fb4c0ab9a9943adf6492ac9adec101d03966321 to handle error from historylog

This commit is contained in:
nathan 2024-08-14 11:30:08 -06:00
parent 4c15df70a0
commit 8e3d438ee0

View File

@ -349,7 +349,7 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
{ {
// Find the tab by DOM heritage // Find the tab by DOM heritage
// @ts-ignore // @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]; return tabbox.tabData[i];
} }