File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -187,10 +187,8 @@ const registry = {
187
187
return (
188
188
! el . matches ( ".disable-patterns" ) &&
189
189
! el ?. parentNode ?. closest ?. ( ".disable-patterns" ) &&
190
- ! el ?. parentNode ?. closest ?. ( "pre" ) &&
191
- ! el ?. parentNode ?. closest ?. ( "template" ) && // NOTE: not strictly necessary. Template is a DocumentFragment and not reachable except for IE.
192
- ! el . matches ( ".cant-touch-this" ) && // BBB. TODO: Remove with next major version.
193
- ! el ?. parentNode ?. closest ?. ( ".cant-touch-this" ) // BBB. TODO: Remove with next major version.
190
+ ! el ?. parentNode ?. closest ?. ( "pre" )
191
+ //!el?.parentNode?.closest?.("template") && // NOTE: not strictly necessary. Template is a DocumentFragment and not reachable except for IE.
194
192
) ;
195
193
} ) ;
196
194
You can’t perform that action at this time.
0 commit comments