Skip to content

Commit

Permalink
Fixed typo reference to non-existent el var.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelacey committed Jan 19, 2013
1 parent f79ad26 commit 34be191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onmediaquery/onmediaquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
if (elem) {

// return (IE browser?) ? (Return IE fontFamily) : ((W3C browser?) ? (Return W3C font-family) : Return empty string);
return (elem.currentStyle) ? elem.currentStyle['fontFamily'] : ((window.getComputedStyle) ? window.getComputedStyle(el).getPropertyValue('font-family') : '');
return (elem.currentStyle) ? elem.currentStyle['fontFamily'] : ((window.getComputedStyle) ? window.getComputedStyle(elem).getPropertyValue('font-family') : '');

}

Expand Down Expand Up @@ -351,4 +351,4 @@

return omq; // Expose the API.

}(window.oMQ = window.oMQ || {})); // Use existing namespace or make a new object of that namespace.
}(window.oMQ = window.oMQ || {})); // Use existing namespace or make a new object of that namespace.

0 comments on commit 34be191

Please sign in to comment.