Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit e059572

Browse files
committed
Add workaround for IE11 crash
1 parent b04881f commit e059572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ShadowRenderer.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@
523523
}
524524

525525
function resetDestinationInsertionPoints(node) {
526-
destinationInsertionPointsTable.delete(node);
526+
// IE11 crashes when delete is used.
527+
destinationInsertionPointsTable.set(node, undefined);
527528
}
528529

529530
// AllowedSelectors :

0 commit comments

Comments
 (0)