mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Revert "Fixed: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'"
It breaks history in every edit popup window :(
This reverts commit 044189a2ed
.
This commit is contained in:
parent
59a1836842
commit
f66e72f1d0
@ -349,7 +349,7 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
|
||||
{
|
||||
// Find the tab by DOM heritage
|
||||
// @ts-ignore
|
||||
if( (typeof this.div[0] === 'Node' || typeof this === 'Node') && tabbox.tabData[i].contentDiv?.contains(this.div[0] || this))
|
||||
if(tabbox.tabData[i].contentDiv?.contains(this.div[0] || this))
|
||||
{
|
||||
return tabbox.tabData[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user