splits/functions/kirki/modules/customizer-branding/branding.js
Alexander Agnarson 9f13aa6240 Initial commit
2020-03-11 14:32:45 +01:00

14 lines
454 B
JavaScript

/* global kirkiBranding */
jQuery( document ).ready( function() {
'use strict';
if ( '' !== kirkiBranding.logoImage ) {
jQuery( 'div#customize-info .preview-notice' ).replaceWith( '<img src="' + kirkiBranding.logoImage + '">' );
}
if ( '' !== kirkiBranding.description ) {
jQuery( 'div#customize-info > .customize-panel-description' ).replaceWith( '<div class="customize-panel-description">' + kirkiBranding.description + '</div>' );
}
} );