Current Path : /home/sudancam/.trash/tybluexx/js/ |
Current File : /home/sudancam/.trash/tybluexx/js/customize-preview.js |
!function(e){var t=e("#ty-color-scheme-css"),n=wp.customize;t.length||(t=e("head").append('<style type="text/css" id="ty-color-scheme-css" />').find("#ty-color-scheme-css")),n("blogname",function(t){t.bind(function(t){e(".site-title a").text(t)})}),n("blogdescription",function(t){t.bind(function(t){e(".site-description").text(t)})}),n("background_image",function(t){t.bind(function(t){e("body").toggleClass("custom-background-image",""!==t)})}),n.bind("preview-ready",function(){n.preview.bind("update-color-scheme-css",function(e){t.html(e)})})}(jQuery);