New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trac 32417: Media widget #215

Closed
wants to merge 22 commits into
base: master
from
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Remove unused var extras

  • Loading branch information...
westonruter committed Feb 22, 2017
commit 972e28acd54c18052dda61682e2c393c7cb08007
@@ -117,7 +117,7 @@
renderFormView: function( widgetId, props, attachment ) {
// Start with container elements for the widgets page, customizer controls, and customizer preview.
var extras, formView = $( '.' + widgetId + ', #customize-control-widget_' + widgetId + ', #' + widgetId );
var formView = $( '.' + widgetId + ', #customize-control-widget_' + widgetId + ', #' + widgetId );
// Bail if there is no target form
if ( ! formView.length ) {
@@ -132,7 +132,7 @@
.html( attachment.description );
// Display a preview of the image in the widgets page and customizer controls.
extras = formView.find( '.extras' ).removeClass( 'hidden' );
formView.find( '.extras' ).removeClass( 'hidden' );
// Set the preview content and apply responsive styles to the media.
formView.find( '.media-widget-admin-preview' )
ProTip! Use n and p to navigate between commits in a pull request.