This repository has been archived by the owner. It is now read-only.

Gallery Widget #120

Merged
merged 43 commits into from Sep 19, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Fix linting errors.

  • Loading branch information...
timmyc committed Aug 9, 2017
commit 9aae63b7b6df8edfa36e990d1b24c458d9fd005b
@@ -92,7 +92,7 @@
editMedia: function editMedia() {
var control = this, selection, mediaFrame, defaultSync, mediaFrameProps;
if ( control.isSelected() && 0 !== control.model.get( 'selection' ) ) {
selection = new wp.media.model.Selection( JSON.parse( control.model.get( 'attachments') ) );
selection = new wp.media.model.Selection( JSON.parse( control.model.get( 'attachments' ) ) );
} else {
selection = null;
}
@@ -130,7 +130,7 @@
return model.toJSON();
} )
),
selection: selectedImages,
selection: selectedImages
} );
} );
@@ -205,7 +205,7 @@
return model.toJSON();
} )
),
selection: selectedImages,
selection: selectedImages
} );
} );
ProTip! Use n and p to navigate between commits in a pull request.