From 34be191e3f8c2dc64ba06717b920aa10b0b50054 Mon Sep 17 00:00:00 2001 From: Steve Lacey Date: Sat, 19 Jan 2013 21:34:18 +0000 Subject: [PATCH] Fixed typo reference to non-existent el var. --- onmediaquery/onmediaquery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onmediaquery/onmediaquery.js b/onmediaquery/onmediaquery.js index 57c6ae4..74d3396 100644 --- a/onmediaquery/onmediaquery.js +++ b/onmediaquery/onmediaquery.js @@ -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') : ''); } @@ -351,4 +351,4 @@ return omq; // Expose the API. -}(window.oMQ = window.oMQ || {})); // Use existing namespace or make a new object of that namespace. \ No newline at end of file +}(window.oMQ = window.oMQ || {})); // Use existing namespace or make a new object of that namespace.