mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
browser: IE11 from hell #452
This commit is contained in:
parent
9783b8af0f
commit
7de76ad337
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ function elementContains( txt, e ){
|
|||
if( e ){
|
||||
var tree = document.createTreeWalker( e, 4 /* NodeFilter.SHOW_TEXT */, function( node ){
|
||||
return regex.test( node.data );
|
||||
});
|
||||
}, false );
|
||||
var node = null;
|
||||
while( node = tree.nextNode() ){
|
||||
nodes.push( node.parentElement );
|
||||
|
|
Loading…
Reference in a new issue