Make WordPress Core

Changeset 22143


Ignore:
Timestamp:
10/09/2012 02:07:09 AM (12 years ago)
Author:
koopersmith
Message:

Improve JavaScript object formatting. see #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-views.js

    r22139 r22143  
    508508            this.$el.addClass('fit');
    509509            this.$('.thumbnail').css( size );
    510             this.$('.thumbnail img').css( _.extend( size, { top: 0, left: 0 } ) );
     510            this.$('.thumbnail img').css( _.extend( size, {
     511                top:  0,
     512                left: 0
     513            } ) );
    511514        },
    512515
     
    515518            this.$el.removeClass('fit');
    516519            this.$('.thumbnail img').css( size );
    517             this.$('.thumbnail').css({ top: 0, left: 0, width: 199, height: 199 });
    518 
     520            this.$('.thumbnail').css({
     521                top:    0,
     522                left:   0,
     523                width:  199,
     524                height: 199
     525            });
    519526        }
    520527    });
Note: See TracChangeset for help on using the changeset viewer.