diff --git a/lib/browser.js b/lib/browser.js index 0d790bc..f997f20 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -45,7 +45,7 @@ var round = function(n){ var compute = global.getComputedStyle ? function(node){ var cts = getComputedStyle(node, null) return function(property){ - return cts ? cts.getPropertyValue(hyphenate(property)) : "" + return cts && cts.getPropertyValue(hyphenate(property)) ? cts.getPropertyValue(hyphenate(property)) : "" } } : /*(css3)?*/function(node){ var cts = node.currentStyle