Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,31 @@
|
||||
jQuery( function( $ ) {
|
||||
"use strict";
|
||||
/* Ultimate Addons for WPBakery Page Builder integration */
|
||||
jQuery( '.upb_bg_img, .upb_color, .upb_grad, .upb_content_iframe, .upb_content_video, .upb_no_bg' ).each( function() {
|
||||
var $bg = jQuery( this ),
|
||||
$prev = $bg.prev();
|
||||
|
||||
if ( $prev.length == 0 ) {
|
||||
var $parent = $bg.parent(),
|
||||
$parentParent = $parent.parent(),
|
||||
$prevParentParent = $parentParent.prev();
|
||||
|
||||
if ( $prevParentParent.length ) {
|
||||
$bg.insertAfter( $prevParentParent );
|
||||
|
||||
if ( $parent.children().length == 0 ) {
|
||||
$parentParent.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
} );
|
||||
$( '.g-cols > .ult-item-wrap' ).each( function( index, elm ) {
|
||||
var $elm = jQuery( elm );
|
||||
$elm.replaceWith( $elm.children() );
|
||||
} );
|
||||
jQuery( '.overlay-show' ).click( function() {
|
||||
window.setTimeout( function() {
|
||||
$us.$canvas.trigger( 'contentChange' );
|
||||
}, 1000 );
|
||||
} );
|
||||
} );
|
||||
Reference in new issue
Block a user