Changeset 29547
- Timestamp:
- 08/20/2014 04:16:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r29532 r29547 5345 5345 5346 5346 if ( width ) { 5347 this.columns = Math. round( width / this.options.idealColumnWidth) || 1;5347 this.columns = Math.min( Math.round( width / this.options.idealColumnWidth ), 12 ) || 1; 5348 5348 5349 5349 if ( ! prev || prev !== this.columns ) {
Note: See TracChangeset
for help on using the changeset viewer.