jonathantneal / svg4everybody

Use external SVG spritemaps today
https://jonneal.dev/svg4everybody/
Other
3.29k stars 353 forks source link

Using importNode instead cloneNode. #113

Closed OlegBabich closed 4 years ago

OlegBabich commented 8 years ago

For historical reasons our team rewrites document.domain property to parent domain on our legacy code. I mean from subdoamin.domain.com to domain.com. In this case Node.cloneNode() thorows error SCRIPT5022: WrongDocumentError on IE. So I think that Document.importNode is better solution

iyeldinov commented 8 years ago

+1 fixes my problem

stremann commented 8 years ago

same here +1

goncalo-matos commented 8 years ago

Spent an entire afternoon trying to fix the problem this PR fixes. +1 !

rafalradomski commented 8 years ago

use version 2.0.0. works for me on IE

Olwiba commented 7 years ago

👍

thiemeljiri commented 5 years ago

Seems like v2.1.9 is broken and 2.0.0 seems not to produce this error.

Is this project dead?