/**
* Theme Customizer custom scripts
* Control of show/hide events for Customizer
*/
(function($) {
//Message if WordPress version is less tham 4.0
if (parseInt(automobile_misc_links.WP_version) < 4) {
$('.preview-notice').prepend('' + automobile_misc_links.old_version_message + '');
jQuery('#customize-info .btn-upgrade, .misc_links').click(function(event) {
event.stopPropagation();
});
}
//Add Upgrade Button,Theme instruction, Support Forum, Changelog, Donate link, Review, Facebook, Twitter, Google+, Pinterest links
$('.preview-notice').prepend('' + automobile_misc_links.upgrade_text + '');
jQuery('#customize-info .btn-upgrade, .misc_links').click(function(event) {
event.stopPropagation();
});
})(jQuery);