From 4d70265d9f34481eb71c745229f1de26b73c24d8 Mon Sep 17 00:00:00 2001 From: Robin Cornett Date: Sat, 15 Aug 2015 14:06:24 -0400 Subject: [PATCH] Fix image preview for new terms --- includes/js/settings-upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/js/settings-upload.js b/includes/js/settings-upload.js index f08efa1..4aa3d44 100644 --- a/includes/js/settings-upload.js +++ b/includes/js/settings-upload.js @@ -30,7 +30,7 @@ jQuery(document).ready(function($){ attachment = custom_uploader.state().get( 'selection' ).first().toJSON(); preview = $( target_input ).prevAll( '.upload_logo_preview' ); - previewImage = $( '
' ); + previewImage = $( '
' ); $( target_input ).val( attachment.id ); if ( $( preview ).length ) { $( preview ).remove();