Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 148

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 266

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 274
fg
/home2/cargocap/bposphere.com/wp-content/plugins/ninja-forms/assets/js/lib/blockFrameSetup.js
/**
 * This file is used by form block iFrame
 *
 * It was created with original block, it is still used by refactored block.
 */
(function() {
    jQuery(document).on( 'nfFormReady', function(){
        var frameEl = window.frameElement;

        // get the form element
        var $form = jQuery("#nf-form-" + ninjaFormsBlockSetup.form_id + "-cont");
        // get the height of the form
        var height = $form.find( '.ninja-forms-form-wrap' ).outerHeight(true);

        if (frameEl) {
            // add 125 to height b/c the submit button was missing
            frameEl.height = height + 125;
        }
    });
 
 })();