diff --git a/jquery-css-transform.js b/jquery-css-transform.js index 241a722..519d6cb 100644 --- a/jquery-css-transform.js +++ b/jquery-css-transform.js @@ -12,7 +12,7 @@ var p; while (p = properties.shift()) { - if (typeof element.style[p] != 'undefined') + if (element && typeof element.style[p] != 'undefined') { return p; }