diff --git a/full-width-text.html b/full-width-text.html index 79317b5..6f86c47 100644 --- a/full-width-text.html +++ b/full-width-text.html @@ -102,7 +102,7 @@ function getStyle(el, prop) { if (window.getComputedStyle) { - return getComputedStyle(el).getPropertyValue(prop); + return getComputedStyle(el).getPropertyValue("font-size") + " " + getComputedStyle(el).getPropertyValue("font-family"); } try { return el.currentStyle[prop];