mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Quick bug fix, formatted pack better.
This commit is contained in:
parent
94fc6aac19
commit
a2af24b064
317
build/js/pack.js
317
build/js/pack.js
File diff suppressed because one or more lines are too long
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@ -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) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user