remove customizer from theme.min.js
This commit is contained in:
parent
20f32ca241
commit
ce965e45f6
21
js/theme.js
21
js/theme.js
|
@ -5379,24 +5379,3 @@ var Popover = function ($) {
|
|||
}, false );
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
/**
|
||||
* This file adds some LIVE to the Theme Customizer live preview. To leverage
|
||||
* this, set your custom settings to 'postMessage' and then add your handling
|
||||
* here. Your javascript should grab settings from customizer controls, and
|
||||
* then make any necessary changes to the page using jQuery.
|
||||
*
|
||||
* @see https://codex.wordpress.org/Theme_Customization_API#Part_3:_Configure_Live_Preview_.28Optional.29
|
||||
*/
|
||||
( function( $ ) {
|
||||
|
||||
// Update the site title in real time...
|
||||
wp.customize( 'blogname', function( value ) {
|
||||
value.bind( function( newval ) {
|
||||
console.log(newval);
|
||||
$( '.navbar-header a' ).html( newval );
|
||||
} );
|
||||
} );
|
||||
|
||||
} )( jQuery );
|
||||
|
|
File diff suppressed because one or more lines are too long
Reference in New Issue