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 = {
187187 return (
188188 ! el . matches ( ".disable-patterns" ) &&
189189 ! 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.
194192 ) ;
195193 } ) ;
196194
You can’t perform that action at this time.
0 commit comments