web/wp-content/themes/twentyeleven/inc/theme-customizer.js
changeset 194 32102edaa81b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/twentyeleven/inc/theme-customizer.js	Mon Nov 19 18:26:13 2012 +0100
@@ -0,0 +1,12 @@
+( function( $ ){
+	wp.customize( 'blogname', function( value ) {
+		value.bind( function( to ) {
+			$( '#site-title a' ).html( to );
+		} );
+	} );
+	wp.customize( 'blogdescription', function( value ) {
+		value.bind( function( to ) {
+			$( '#site-description' ).html( to );
+		} );
+	} );
+} )( jQuery );
\ No newline at end of file