Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed May 13, 2018
1 parent 070f27e commit c934412
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controls/js/src/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ wp.customize.controlConstructor['kirki-image'] = wp.customize.Control.extend( {

// This will return the selected image from the Media Uploader, the result is an object.
var uploadedImage = image.state().get( 'selection' ).first(),
// previewImage = uploadedImage.toJSON().sizes.full.url;
jsonImg = uploadedImage.toJSON(),
previewImage = jsonImg.url;

Expand Down

0 comments on commit c934412

Please sign in to comment.