diff options
Diffstat (limited to 'src/js/media/utils/selection-sync.js')
-rw-r--r-- | src/js/media/utils/selection-sync.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/js/media/utils/selection-sync.js b/src/js/media/utils/selection-sync.js index fd2a872e1d..73cbed002a 100644 --- a/src/js/media/utils/selection-sync.js +++ b/src/js/media/utils/selection-sync.js @@ -22,10 +22,12 @@ var selectionSync = { return; } - // If the selection supports multiple items, validate the stored - // attachments based on the new selection's conditions. Record - // the attachments that are not included; we'll maintain a - // reference to those. Other attachments are considered in flux. + /* + * If the selection supports multiple items, validate the stored + * attachments based on the new selection's conditions. Record + * the attachments that are not included; we'll maintain a + * reference to those. Other attachments are considered in flux. + */ if ( selection.multiple ) { selection.reset( [], { silent: true }); selection.validateAll( manager.attachments ); |