WordPress.org

Plugin Directory

Changeset 764847


Ignore:
Timestamp:
08/30/13 17:14:32 (8 months ago)
Author:
jeherve
Message:

Tiled Galleries: revert r757178. The problem was already fixed in r683829, and this last changeset broke things when creating Thumbnail Grid galleries and checking the default Tiled option in Settings - Media.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/_inc/gallery-settings.js

    r757178 r764847  
    1414            // Append the type template and update the settings. 
    1515            $el.append( media.template( 'jetpack-gallery-settings' ) ); 
    16             media.gallery.defaults.type = 'thumbnails'; // lil hack that lets media know there's a type attribute. 
     16            media.gallery.defaults.type = 'default'; // lil hack that lets media know there's a type attribute. 
    1717            this.update.apply( this, ['type'] ); 
    1818 
     
    2121                var columnSetting = $el.find( 'select[name=columns]' ).closest( 'label.setting' ); 
    2222 
    23                 if ( 'thumbnails' == $( this ).val() ) 
     23                if ( 'default' == $( this ).val() ) 
    2424                    columnSetting.show(); 
    2525                else 
Note: See TracChangeset for help on using the changeset viewer.