Additional fix for 9fb4c0ab9a to handle error from historylog

This commit is contained in:
nathan 2024-08-14 11:30:08 -06:00
parent 58ed15b849
commit 5e5c858ae7

View File

@ -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];
}