FIx unrecoverable errors when using IE11

This commit is contained in:
yflory
2019-01-22 12:25:49 +01:00
parent 2a95127aee
commit 01f93f6f7b
3 changed files with 8 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ define([
var path = [];
while (current !== element) {
path.unshift(current);
current = current.parentElement;
current = current.parentNode;
}
if (current === element) { // Should always be the case