updated npm modules
This commit is contained in:
8
node_modules/jquery/src/css/curCSS.js
generated
vendored
8
node_modules/jquery/src/css/curCSS.js
generated
vendored
@@ -1,11 +1,11 @@
|
||||
define( [
|
||||
"../core",
|
||||
"../core/isAttached",
|
||||
"./var/rboxStyle",
|
||||
"./var/rnumnonpx",
|
||||
"./var/getStyles",
|
||||
"./support",
|
||||
"../selector" // Get jQuery.contains
|
||||
], function( jQuery, rboxStyle, rnumnonpx, getStyles, support ) {
|
||||
"./support"
|
||||
], function( jQuery, isAttached, rboxStyle, rnumnonpx, getStyles, support ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@@ -26,7 +26,7 @@ function curCSS( elem, name, computed ) {
|
||||
if ( computed ) {
|
||||
ret = computed.getPropertyValue( name ) || computed[ name ];
|
||||
|
||||
if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
|
||||
if ( ret === "" && !isAttached( elem ) ) {
|
||||
ret = jQuery.style( elem, name );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user