X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsupport.js;h=5d04cb78e6c054103f08f2cfecd4131d118822c0;hb=c2101245c07afdb831b0c79869c7263420407b67;hp=f8d2ba345f47ce9bd95c71084060c7e4d5b252b8;hpb=fd281e493d58dc54feded5d29660489e6bc7b151;p=jquery.git diff --git a/src/support.js b/src/support.js index f8d2ba3..5d04cb7 100644 --- a/src/support.js +++ b/src/support.js @@ -8,7 +8,7 @@ id = "script" + (new Date).getTime(); div.style.display = "none"; - div.innerHTML = '
a'; + div.innerHTML = '
a'; var all = div.getElementsByTagName("*"), a = div.getElementsByTagName("a")[0]; @@ -40,7 +40,7 @@ // Make sure that element opacity exists // (IE uses filter instead) - opacity: a.style.opacity === "0.5", + opacity: a.style.opacity === "0.55", // Verify style float existence // (IE uses styleFloat instead of cssFloat)