/**
 * Upsell notice for theme
 */


(function( $ ) {

	if ( 'undefined' !== typeof prefixL10n ) {

		var upsellLink = $( '<a class="upsell-link"></a>' )
				.attr( 'href', prefixL10n.prefixUpsellURL )
				.attr( 'target', '_blank' )
				.text( prefixL10n.prefixUpsellLabel )
			;

		$( '#customize-theme-controls > ul' ).prepend( '<li class="accordion-section upsell-links">' );

		$( '.upsell-links' ).prepend( upsellLink );

	}

})( jQuery );
