Permalink
Browse files

CSS: Collapse a double if statement into one

Saves 3 bytes gzipped

Closes gh-2296
  • Loading branch information...
mgol committed May 11, 2015
1 parent 86419b1 commit 7855a1a7d8a5c959d4ef2f951b4eb971908ac96f
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/css/curCSS.js
View
@@ -17,9 +17,6 @@ function curCSS( elem, name, computed ) {
// getPropertyValue is only needed for .css('filter') (#12537)
if ( computed ) {
ret = computed.getPropertyValue( name ) || computed[ name ];
}
if ( computed ) {
if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
ret = jQuery.style( elem, name );

0 comments on commit 7855a1a

Please sign in to comment.