jquery added svg element fix

master
Nicolás Pinzón 2016-06-08 20:06:05 -05:00
parent 84fbff7d51
commit a7f1a26b6f
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -1492,7 +1492,7 @@ function Paper(w, h) {
desc,
defs,
proto = Paper.prototype;
if (w && w.tagName == "svg") {
if (w && w.tagName.toLowerCase() == "svg") {
if (w.snap in hub) {
return hub[w.snap];
}