jquery added svg element fix
parent
84fbff7d51
commit
a7f1a26b6f
File diff suppressed because one or more lines are too long
|
@ -14813,4 +14813,4 @@ h.onclick=h.onchange=h.onkeydown=h.onkeyup=function(){var t=h.value,r=[]
|
||||||
if(t.length>1){for(var i=0,o=a.length;o>i;i++)r[i]={li:a[i].li,weight:n(a[i].text,t)}
|
if(t.length>1){for(var i=0,o=a.length;o>i;i++)r[i]={li:a[i].li,weight:n(a[i].text,t)}
|
||||||
r.sort(f)}else r=a
|
r.sort(f)}else r=a
|
||||||
for(i=0,o=r.length;o>i;i++)e.appendChild(r[i].li)}}}(document.getElementById("dr-toc"))</script>
|
for(i=0,o=r.length;o>i;i++)e.appendChild(r[i].li)}}}(document.getElementById("dr-toc"))</script>
|
||||||
</body></html>
|
</body></html>
|
|
@ -1492,7 +1492,7 @@ function Paper(w, h) {
|
||||||
desc,
|
desc,
|
||||||
defs,
|
defs,
|
||||||
proto = Paper.prototype;
|
proto = Paper.prototype;
|
||||||
if (w && w.tagName == "svg") {
|
if (w && w.tagName.toLowerCase() == "svg") {
|
||||||
if (w.snap in hub) {
|
if (w.snap in hub) {
|
||||||
return hub[w.snap];
|
return hub[w.snap];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue