Ticket #53765: 53765.2.diff
| File 53765.2.diff, 909 bytes (added by , 4 years ago) |
|---|
-
src/js/media/controllers/featured-image.js
117 117 118 118 selection.reset( attachment ? [ attachment ] : [] ); 119 119 120 if ( library.hasMore() ) {120 if ( ! infinite_scrolling && library.hasMore() ) { 121 121 library.more(); 122 122 } 123 123 } -
src/js/media/controllers/replace-image.js
104 104 105 105 selection.reset( attachment ? [ attachment ] : [] ); 106 106 107 if ( library.hasMore() ) {107 if ( ! infinite_scrolling && library.getTotalAttachments() == 0 && library.hasMore() ) { 108 108 library.more(); 109 109 } 110 110 }