Commit d6a846a0 by Tomas Alabes

Fix href link

parent e1e2daea
...@@ -322,13 +322,13 @@ window.Raphael && window.Raphael.svg && function(R) { ...@@ -322,13 +322,13 @@ window.Raphael && window.Raphael.svg && function(R) {
case "blur": case "blur":
o.blur(value); o.blur(value);
break; break;
case "href":
case "title": case "title":
var hl = $("title"); var hl = $("title");
var val = R._g.doc.createTextNode(value); var val = R._g.doc.createTextNode(value);
hl.appendChild(val); hl.appendChild(val);
node.appendChild(hl); node.appendChild(hl);
break; break;
case "href":
case "target": case "target":
var pn = node.parentNode; var pn = node.parentNode;
if (pn.tagName.toLowerCase() != "a") { if (pn.tagName.toLowerCase() != "a") {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6078,13 +6078,13 @@ ...@@ -6078,13 +6078,13 @@
case "blur": case "blur":
o.blur(value); o.blur(value);
break; break;
case "href":
case "title": case "title":
var hl = $("title"); var hl = $("title");
var val = R._g.doc.createTextNode(value); var val = R._g.doc.createTextNode(value);
hl.appendChild(val); hl.appendChild(val);
node.appendChild(hl); node.appendChild(hl);
break; break;
case "href":
case "target": case "target":
var pn = node.parentNode; var pn = node.parentNode;
if (pn.tagName.toLowerCase() != "a") { if (pn.tagName.toLowerCase() != "a") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment