Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function( $ ) {
- "use strict";
- wp.customize( 'my_ser', function( value ) {
- value.bind( function( to ) {
- $( '#loaders' ).unwrap().removeClass().wrap( "<section class='loading-overlay'></section>" ).addClass( 'loading-overlay loader-inner ' + to ).fadeOut(2000,
- function()
- {
- $(this).parent().fadeOut(2000,
- function()
- {
- $('body').css('overflow','auto');
- $(this).remove();
- });
- });
- } );
- });
- })( jQuery );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement