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

@ -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>

View File

@ -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];
} }