(function(i){if(media_library_organizer_output.settings.grid_size.length>0){wp.media.view.Attachments=wp.media.view.Attachments.extend({initialize:function(){switch(media_library_organizer_output.settings.grid_size){case"xlarge":this.options.idealColumnWidth=i(window).width()<640?270:300;break;case"large":this.options.idealColumnWidth=i(window).width()<640?200:225;break;case"small":this.options.idealColumnWidth=i(window).width()<640?90:110;break;case"xsmall":this.options.idealColumnWidth=i(window).width()<640?60:75;break}this.constructor.__super__.initialize.apply(this,arguments)}})}})(jQuery);