Files
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

22 lines
546 B
JavaScript

var FusionPageBuilder = FusionPageBuilder || {};
( function() {
jQuery( document ).ready( function() {
// Convert plus
FusionPageBuilder.fusion_convert_plus = FusionPageBuilder.ElementView.extend( {
beforeRemove: function() {
var params = this.model.get( 'params' ),
moduleType = params.convert_plus_module,
value = params[ moduleType + '_id' ];
if ( 'string' === typeof value && '' !== value ) {
jQuery( '#fb-preview' ).contents().find( '.' + value ).remove();
}
}
} );
} );
}( jQuery ) );