From c934412779f8b0a06ce32b600c8a2e78e3298d47 Mon Sep 17 00:00:00 2001 From: Aristeides Stathopoulos Date: Sun, 13 May 2018 15:24:27 +0300 Subject: [PATCH] cleanup --- controls/js/src/image.js | 1 - 1 file changed, 1 deletion(-) diff --git a/controls/js/src/image.js b/controls/js/src/image.js index e8d3b044f..48b6b8246 100644 --- a/controls/js/src/image.js +++ b/controls/js/src/image.js @@ -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;