Skip to content

Commit

Permalink
minor correction to typo
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Jan 5, 2012
1 parent 3dc7f61 commit 8038c16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions feature-detects/mathml.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Modernizr.addTest('mathml', function(){
var ns = "http://www.w3.org/1998/Math/MathML",
div = document.createElement("div");
div.style.position = "absolute";
var mfrac = div.appendChild(document.createElementNS(_namespace,"math"))
.appendChild(document.createElementNS(_namespace,"mfrac"));
mfrac.appendChild(document.createElementNS(_namespace,"mi"))
var mfrac = div.appendChild(document.createElementNS(ns,"math"))
.appendChild(document.createElementNS(ns,"mfrac"));
mfrac.appendChild(document.createElementNS(ns,"mi"))
.appendChild(document.createTextNode("xx"));
mfrac.appendChild(document.createElementNS(_namespace,"mi"))
mfrac.appendChild(document.createElementNS(ns,"mi"))
.appendChild(document.createTextNode("yy"));
document.body.appendChild(div);
hasMathML = div.offsetHeight > div.offsetWidth;
Expand Down

0 comments on commit 8038c16

Please sign in to comment.