Skip to content

Commit

Permalink
Merge pull request #1032 from scireum/feature/meg/SIRI-558_2
Browse files Browse the repository at this point in the history
Adds a workaround for document.contains in IE11
  • Loading branch information
meg1502 authored Apr 25, 2022
2 parents 392a45e + cba3fc3 commit e773117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
stopAnimationThread();

animationTimer = setInterval(function () {
if (!document.contains(_slidesContainer)) {
if (!document.body.contains(_slidesContainer)) {
stopAnimationThread();
return;
}
Expand Down

0 comments on commit e773117

Please sign in to comment.