Commit a2af24b0 authored by John Resig's avatar John Resig

Quick bug fix, formatted pack better.

parent 94fc6aac
This diff is collapsed.
...@@ -959,7 +959,7 @@ jQuery.extend({ ...@@ -959,7 +959,7 @@ jQuery.extend({
} else if (elem.currentStyle) { } else if (elem.currentStyle) {
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()});
ret = elem.currentStyle[prop] || elem.currentStyle[np]; ret = elem.currentStyle[prop] || elem.currentStyle[newProp];
} else if (document.defaultView && document.defaultView.getComputedStyle) { } else if (document.defaultView && document.defaultView.getComputedStyle) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment