Template:Team:Tsinghua-A/LogoCode
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
function H(e, n, r) { | function H(e, n, r) { | ||
- | if (r === t & | + | if (r === t && e.nodeType === 1) { |
var i = "data-" + n.replace(P, "-$1").toLowerCase(); | var i = "data-" + n.replace(P, "-$1").toLowerCase(); | ||
r = e.getAttribute(i); | r = e.getAttribute(i); |
Revision as of 19:56, 16 October 2014